GNOME Bugzilla – Bug 311593
fix timestamps
Last modified: 2005-07-27 16:04:16 UTC
Since the latest CVS update to a new ffmpeg snapshot, I've removed gst_ffmpeg_to/from_gst_timestamp() and replaced them by av_rescale_q(), which may not have been a good idea after all, because we don't handle AV_NOPTS_VALUE and GST_CLOCK_TIME_NONE correctly now... Attached patch fixes some timestamp bugs in CVS of gst-ffmpeg. We should probably just re-institute those functions and use them again...
Created attachment 49779 [details] [review] blabla
Marking new to get some attention b/c of the patch.
2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net> * ext/ffmpeg/gstffmpegcodecmap.h: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect), (gst_ffmpegdec_frame), (gst_ffmpegdec_chain): * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_link), (gst_ffmpegenc_chain_video): * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_loop): Use special functions for timestamp-conversion again, since we otherwise don't handle clocktimenone correctly (#311593).