[rygel/wip/gst-1.0] engine: Fix video transcoders



commit a352565cc1eded5ca3f8cf6a4a0ce9363a6ded9a
Author: Jens Georg <jensg openismus com>
Date:   Wed Nov 21 00:13:42 2012 +0100

    engine: Fix video transcoders

 .../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 3e48efc..8754d95 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 =
-        "framerate=(fraction)15/1,width=352,height=288";
+        "video/x-raw,format=I420,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 da59e92..40449f0 100644
--- a/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala
+++ b/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala
@@ -51,7 +51,7 @@ internal class Rygel.MP2TSTranscoder : Rygel.VideoTranscoder {
         "video/mpeg,mpegversion=2,systemstream=false";
 
     private const string RESTRICTION_TEMPLATE =
-        "framerate=(fraction)%d/1,width=%d,height=%d";
+        "video/x-raw,format=I420,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]