[gst-devel] media-info, and old streaminfo tags
in7y118 at public.uni-hamburg.de
Fri Mar 12 06:32:02 CET 2004
Quoting Mathrick <mnews2 at wp.pl>:
> I'm kinda restating the obvious, but sending silence is nothing more
> than a crude hack, and no solution at all. Not only it's ugly, it also
> is format specific (many formats treat "no signal" and "signal of level
> 0" differently, and some, like subtitles, have no "0 level" at all) and
> prevents us completely from authoring such formats (so bye bye DVD
> creation, and subtitle (re/en)coding, and variable fps AVIs )
I'm kinda restating the obvious, too, but claiming you're sending audio and
then not sending any is worse than a crude hack.
Keep in mind that this was only related to the audio stream. It's especially
bad because you don't even send an event - you just don't send anything at all
so the audiosink keeps waiting for the next buffer.
Subtitles and video don't work either if you just stop sending anything. You
need to know when to display the next subtitle, so you need to either pull the
next subtitle or at least get some sort of info that no more subtitles arrive
for the next x seconds. Same for video.
More information about the gstreamer-devel