gst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 15 Dec 2006 17:54:48 +0000 (17:54 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 15 Dec 2006 17:54:48 +0000 (17:54 +0000)
commit7e1371c41e302719d47162de0a439ada6c814a5b
treee89456f189a59a37ff818aa07e8a1f28492e010c
parentb4a1a4cda20bb783cf16f42331db8e0fba347784
gst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime is 0, as may be the case with l...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_seek_event),
(gst_asf_demux_process_data), (gst_asf_demux_process_file),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Don't crash in the seek event handling code when playtime is 0,
as may be the case with live streams (#386218). Implement SEEKING
query so applications can query seekability without second-guessing
based on whether we have a duration or not.
ChangeLog
gst/asfdemux/gstasfdemux.c
gst/asfdemux/gstasfdemux.h