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 727074 - gstbasesink: do basesink need preroll if received GAP event which convert by EOS.
gstbasesink: do basesink need preroll if received GAP event which convert by ...
Status: RESOLVED DUPLICATE of bug 736655
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.2.3
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-26 06:07 UTC by kevin
Modified: 2014-12-25 04:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
disable convert eos to gap when no media data. (1.25 KB, patch)
2014-07-25 05:43 UTC, kevin
none Details | Review

Description kevin 2014-03-26 06:07:42 UTC
We have one stream which video is shorter than audio. Pause will hang if pause after seek to only audio segment.
I check basesink code. Need preroll when playing to pause state if no EOS. But EOS has been convert to GAP event by gststreamsynchronizer.
Comment 1 kevin 2014-03-26 06:51:56 UTC
Seems base sink got wrong GAP event timestamp as decoder haven't send segment to gststreamsynchronizer when seek to only audio segment. If normal playback to only audio segment, base sink can get right GAP event timestamp and can change to PAUSE state.
Comment 2 kevin 2014-07-25 05:43:19 UTC
Created attachment 281657 [details] [review]
disable convert eos to gap when no media data.
Comment 3 Sebastian Dröge (slomo) 2014-12-24 12:56:06 UTC
I think this is wrong. We can only forward EOS in streamsynchronizer once *all* streams are EOS. Otherwise things will break.
Comment 4 kevin 2014-12-25 04:57:08 UTC
Discussed in another thread 736655

*** This bug has been marked as a duplicate of bug 736655 ***