[rygel] media-engine-gst: Drop format restriction



commit f8ac07da4211cb2158fab7b9055db92e73a7c7f0
Author: Jens Georg <jensg openismus com>
Date:   Wed Mar 20 17:52:16 2013 +0100

    media-engine-gst: Drop format restriction
    
    GStreamer should be able to figure it out itself.

 .../gstreamer/rygel-avc-transcoder.vala            |    2 +-
 .../gstreamer/rygel-mp2ts-transcoder.vala          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-avc-transcoder.vala 
b/src/media-engines/gstreamer/rygel-avc-transcoder.vala
index 8754d95..b53764b 100644
--- a/src/media-engines/gstreamer/rygel-avc-transcoder.vala
+++ b/src/media-engines/gstreamer/rygel-avc-transcoder.vala
@@ -35,7 +35,7 @@ internal class Rygel.AVCTranscoder : Rygel.VideoTranscoder {
         "video/x-h264,stream-format=avc";
 
     private const string RESTRICTIONS =
-        "video/x-raw,format=I420,framerate=(fraction)15/1,width=352,height=288";
+        "video/x-raw,framerate=(fraction)15/1,width=352,height=288";
 
     public AVCTranscoder () {
         base ("video/mp4",
diff --git a/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala 
b/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala
index f0144f3..05c5a2b 100644
--- a/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala
+++ b/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala
@@ -54,7 +54,7 @@ internal class Rygel.MP2TSTranscoder : Rygel.VideoTranscoder {
         "video/mpeg,mpegversion=2,systemstream=false";
 
     private const string RESTRICTION_TEMPLATE =
-        "video/x-raw,format=I420,framerate=(fraction)%d/1,width=%d,height=%d";
+        "video/x-raw,framerate=(fraction)%d/1,width=%d,height=%d";
 
     private MP2TSProfile profile;
 


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