[gst-devel] totem and osssink? (long)

David Schleef ds at schleef.org
Thu Mar 11 13:18:05 CET 2004


On Thu, Mar 11, 2004 at 09:30:42PM +0100, Thomas Vander Stichele wrote:
> Other than that, I don't agree that it's wrong to drop audio data
> necessarily.  An audiosink should try to make the best effort possible
> to not drop audio, allowing for stretching if necessary, or allowing for
> minor variations in time of arrival.  In the case of 100% CPU use, there
> are two possibilities.  Either something is maxing out the processor,
> leaving GStreamer "just enough" CPU to decode and playback, and audio is
> arriving only slightly late.  If it's only playing audio, it's probably
> fine to keep playing, and adjust for it somehow.  If it's playing video,
> however, it may still be correct to drop audio to keep up with video. 
> It all depends.

In other words, it's a policy thing, and the application should decide.
Which means we need to handle the general case, and also provide an
interface for the application to express its wishes.



dave...





More information about the gstreamer-devel mailing list