mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-09 09:39:27 +00:00
work with non-seekable streams
Original commit message from CVS: work with non-seekable streams
This commit is contained in:
parent
c0b9d2708e
commit
08f4ab5d7f
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue