GNOME Bugzilla – Bug 500825
[flvdemux] race condition?
Last modified: 2008-01-13 14:54:28 UTC
I compiled flv demux against gstreamer-0.10.15 and gst-plugins-base-0.10.15. I see a werid problem when flv demux works in pull mode. By the way, it works well in push mode. gst-launch-0.10.exe playbin uri="file:///c:/w.flv" In gst_flv_demux_loop() function, demux->segment->rate is negative value for some reasons I don't know. I tried to print the value, but the g_print shows that the value is 1.0 in else clause of demux->segment->rate >= 0. So the playback never starts and ends up in reverse playback's EOS condition. /* check EOS condition */ if (demux->segment->last_stop <= demux->segment->start) { /* <<<ALWAYS STOPS HERE>>> */ ret = GST_FLOW_UNEXPECTED; goto pause; } More interestingly, when I convert demux->segment->rate to gint, it works correctly and playback the flash video. if ((gint) demux->segment->rate >= 0) { ... } else { ... } Is this a race condition?
Could you tell us how to reproduce the problem exactly? Could you make the sample file you're using available?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!