GNOME Bugzilla – Bug 322856
[mpeg2dec] Use of wrong variables
Last modified: 2005-12-21 10:00:49 UTC
Fucntion normal_seek uses wrong variables passed to gst_mpeg2dec_sink_convert. First normal_seek wants to convert format to GST_FORMAT_TIME and sends this event. If sending fails, it wants to convert format to GST_FORMAT_BYTES, but because of the buf it converts it back to the original format. The attached patch fixed the second target format.
Created attachment 55432 [details] [review] Patch
It's in CVS now: 2005-12-21 Josef Zlomek <josef dot zlomek at xeris dot cz> * ext/mpeg2dec/gstmpeg2dec.c: (normal_seek): Really convert to BYTES format when we want to convert to bytes (use right variable; fixes #322856). Thanks for the patch and sorry it took so long to get it in.