When to queue.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

When to queue.

Andre Caldas
When do I have to use a queue?
Every tutorial or how to I read people put queues between elements...
no one explains why.

Are queues mandatory in some cases? When?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: When to queue.

Nathanael D. Noblet
On 10/10/2012 09:45 AM, Andre Caldas wrote:
> When do I have to use a queue?
> Every tutorial or how to I read people put queues between elements...
> no one explains why.
>
> Are queues mandatory in some cases? When?


I'm no expert, however I think queues are used for syncronization.
Queues are in additional threads. Also I've been told to use queues
whenever a stream is 'split'. So tee, any demuxer etc.


> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


--
Nathanael d. Noblet
t 403.875.4613
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: When to queue.

Andre Caldas
>> When do I have to use a queue?
>
> I'm no expert, however I think queues are used for syncronization. Queues
> are in additional threads.

How exactly they help syncronization?


>> [...]
>> Are queues mandatory in some cases? When?
>
> Also I've been told to use queues whenever a
> stream is 'split'. So tee, any demuxer etc.

Or joined?


Cheers,
André Caldas.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: When to queue.

Tiago Katcipis
Hi,

I think this should help:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-threads-uses.html

[]'s
Katcipis

On Wed, Oct 10, 2012 at 1:36 PM, Andre Caldas <[hidden email]> wrote:
>> When do I have to use a queue?
>
> I'm no expert, however I think queues are used for syncronization. Queues
> are in additional threads.

How exactly they help syncronization?


>> [...]
>> Are queues mandatory in some cases? When?
>
> Also I've been told to use queues whenever a
> stream is 'split'. So tee, any demuxer etc.

Or joined?


Cheers,
André Caldas.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel