aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/gstreamer_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gstreamer_extractor.c')
-rw-r--r--src/plugins/gstreamer_extractor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/gstreamer_extractor.c b/src/plugins/gstreamer_extractor.c
index f1f666c..73231bf 100644
--- a/src/plugins/gstreamer_extractor.c
+++ b/src/plugins/gstreamer_extractor.c
@@ -711,10 +711,8 @@ _source_setup (GstDiscoverer * dc, GstElement * source, PrivStruct * ps)
711 if (ps->length > 0) 711 if (ps->length > 0)
712 { 712 {
713 g_object_set (ps->source, "size", (gint64) ps->length, NULL); 713 g_object_set (ps->source, "size", (gint64) ps->length, NULL);
714 gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", "random-access");
715 } 714 }
716 else 715 gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", "seekable");
717 gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", "seekable");
718 716
719 /* configure the appsrc, we will push a buffer to appsrc when it needs more 717 /* configure the appsrc, we will push a buffer to appsrc when it needs more
720 * data */ 718 * data */