work with non-seekable streams

Original commit message from CVS:
work with non-seekable streams
This commit is contained in:
Benjamin Otte 2003-10-27 01:40:20 +00:00
parent c0b9d2708e
commit 08f4ab5d7f
4 changed files with 4 additions and 4 deletions

View file

@ -571,7 +571,7 @@ gst_type_find_element_chain (GstPad *pad, GstData *data)
if (gst_pad_send_event (GST_PAD_PEER (typefind->sink), event)) {
/* done seeking */
break;
} else {
} else if (entry->requested_offset < 0) {
/* impossible to seek */
GST_LOG_OBJECT (typefind, "'%s' was reset - couldn't seek to %"G_GINT64_FORMAT,
GST_PLUGIN_FEATURE_NAME (entry->factory), entry->requested_offset);

View file

@ -571,7 +571,7 @@ gst_type_find_element_chain (GstPad *pad, GstData *data)
if (gst_pad_send_event (GST_PAD_PEER (typefind->sink), event)) {
/* done seeking */
break;
} else {
} else if (entry->requested_offset < 0) {
/* impossible to seek */
GST_LOG_OBJECT (typefind, "'%s' was reset - couldn't seek to %"G_GINT64_FORMAT,
GST_PLUGIN_FEATURE_NAME (entry->factory), entry->requested_offset);

View file

@ -571,7 +571,7 @@ gst_type_find_element_chain (GstPad *pad, GstData *data)
if (gst_pad_send_event (GST_PAD_PEER (typefind->sink), event)) {
/* done seeking */
break;
} else {
} else if (entry->requested_offset < 0) {
/* impossible to seek */
GST_LOG_OBJECT (typefind, "'%s' was reset - couldn't seek to %"G_GINT64_FORMAT,
GST_PLUGIN_FEATURE_NAME (entry->factory), entry->requested_offset);

View file

@ -571,7 +571,7 @@ gst_type_find_element_chain (GstPad *pad, GstData *data)
if (gst_pad_send_event (GST_PAD_PEER (typefind->sink), event)) {
/* done seeking */
break;
} else {
} else if (entry->requested_offset < 0) {
/* impossible to seek */
GST_LOG_OBJECT (typefind, "'%s' was reset - couldn't seek to %"G_GINT64_FORMAT,
GST_PLUGIN_FEATURE_NAME (entry->factory), entry->requested_offset);