gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23255 - Extractor/src/plugins


From: gnunet
Subject: [GNUnet-SVN] r23255 - Extractor/src/plugins
Date: Thu, 16 Aug 2012 12:41:54 +0200

Author: LRN
Date: 2012-08-16 12:41:54 +0200 (Thu, 16 Aug 2012)
New Revision: 23255

Modified:
   Extractor/src/plugins/gstreamer_extractor.c
Log:
Treat all sources as seekable, not random-access

While we *might* be able to seek over the source randomly,
that does NOT change the content. Turns out, discoverer performs abysmally bad
on video streams dumped into a file when in random-access mode.

Modified: Extractor/src/plugins/gstreamer_extractor.c
===================================================================
--- Extractor/src/plugins/gstreamer_extractor.c 2012-08-16 09:14:16 UTC (rev 
23254)
+++ Extractor/src/plugins/gstreamer_extractor.c 2012-08-16 10:41:54 UTC (rev 
23255)
@@ -711,10 +711,8 @@
   if (ps->length > 0)
   {
     g_object_set (ps->source, "size", (gint64) ps->length, NULL);
-    gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", 
"random-access");
   }
-  else
-    gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", "seekable");
+  gst_util_set_object_arg (G_OBJECT (ps->source), "stream-type", "seekable");
 
   /* configure the appsrc, we will push a buffer to appsrc when it needs more
    * data */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]