[gstreamer-bugs] [Bug 323286] [ffdec_cinepak] chef.avi causes gstreamer to hang in preroll
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Dec 5 11:26:00 PST 2005
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=323286
GStreamer | gst-ffmpeg | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|gst-plugins-ugly |gst-ffmpeg
everconfirmed|0 |1
Summary|chef.avi causes gstreamer to|[ffdec_cinepak] chef.avi
|hang in preroll |causes gstreamer to hang in
| |preroll
------- Additional Comments From Tim-Philipp Müller 2005-12-05 19:25 -------
This is an AVI with cinepak video and raw int 8bpp mono audio.
The reason it doesn't preroll properly seems to be that ffdec_cinepak drops all
the frames it decodes because it is waiting for a keyframe that never comes.
The following fixes it sort of, but needs to be double-checked before being
applied (not tested against any other codecs yet, just wanted to report my
preliminary findings):
Index: gstffmpegdec.c
===================================================================
RCS file: /cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdec.c,v
retrieving revision 1.130
diff -u -p -r1.130 gstffmpegdec.c
--- gstffmpegdec.c 5 Dec 2005 13:04:39 -0000 1.130
+++ gstffmpegdec.c 5 Dec 2005 19:20:06 -0000
@@ -1100,7 +1100,7 @@ gst_ffmpegdec_sink_event (GstPad * pad,
ffmpegdec->waiting_for_key = TRUE;
}
}
- ffmpegdec->waiting_for_key = TRUE;
+ ffmpegdec->waiting_for_key = FALSE;
ffmpegdec->synctime = ffmpegdec->next_ts;
break;
}
Audio/Video sync also doesn't seem to be quite right with this fix, but it's
really hard to tell anyway, so I'm not sure whether there's an issue or not.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list