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 622499 - transition READY_TO_PAUSED bug in avidemux
transition READY_TO_PAUSED bug in avidemux
Status: RESOLVED DUPLICATE of bug 622498
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-23 15:13 UTC by mgr
Modified: 2010-06-23 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH 1] [gstavidemux] reset the have_index flag at transition PAUSED_TO_READY (1.08 KB, patch)
2010-06-23 15:13 UTC, mgr
none Details | Review

Description mgr 2010-06-23 15:13:50 UTC
Created attachment 164404 [details] [review]
[PATCH 1] [gstavidemux] reset the have_index flag at transition PAUSED_TO_READY

I have been debugging a chain of filesource->avidemux->avidecoder->v4l2sink and stepped upon some strange issues. One of them is, that if we reuse the avidemuxer and toggle transitions PAUSED_TO_READY and READY_TO_PAUSED the precalculated duration from the avi header gets overwritten with a recalculated value. Therefore the attached patch solves this with turning off the avi->have_index flag, so the metadata gets reread from the gst_avi_demux_stream_header_(pull/push) function.
Comment 1 Tim-Philipp Müller 2010-06-23 15:26:08 UTC

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