After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625634 - sdpdemux does not handle EOS events
sdpdemux does not handle EOS events
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.19
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-30 07:36 UTC by Peter
Modified: 2018-05-04 09:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter 2010-07-30 07:36:06 UTC
The sdpdemux plugin seems to ignore EOS events. To reproduce the problem run the following gst-launch command (note the "-e" command line option):

gst-launch -e filesrc location=some_sdp_file.sdp ! sdpdemux ! decodebin ! xvimagesink

Wait some time and then press ctrl-c. gst-launch then prints out "Waiting for EOS..." and waits forever.

Same behavior with a self written C program. Setting the filesrc and/or sdpdemux elements from state PLAYING to state READY does not trigger an EOS event on the pipeline.
Comment 1 Wim Taymans 2010-09-21 17:22:52 UTC
(In reply to comment #0)
> The sdpdemux plugin seems to ignore EOS events. To reproduce the problem run
> the following gst-launch command (note the "-e" command line option):
> 
> gst-launch -e filesrc location=some_sdp_file.sdp ! sdpdemux ! decodebin !
> xvimagesink
> 
> Wait some time and then press ctrl-c. gst-launch then prints out "Waiting for
> EOS..." and waits forever.

That's a problem indeed. Not sure how to fix it because sdpdemux already received an EOS event.

> 
> Same behavior with a self written C program. Setting the filesrc and/or
> sdpdemux elements from state PLAYING to state READY does not trigger an EOS
> event on the pipeline.

That would be normal, doing a state change to READY should not trigger EOS.
Comment 2 Edward Hervey 2013-08-13 18:44:49 UTC
This bug has an assigned developer but has not received activity in almost a year.

Is the assigned person still working on this ?
Comment 3 Sebastian Dröge (slomo) 2018-05-04 09:13:47 UTC
This is actually behaving as intended, similar to adaptivedemux. The first part of the pipeline is properly EOS, so injecting a new EOS event is not going to have any effect whatsoever.

A different approach for draining/finalizing is needed in these kinds of pipelines, and applications can relatively easily do that for specific cases at least.