From 4a516f6998b24563f09dd126b6a2e27b7013bd23 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Tue, 16 Dec 2008 14:31:30 +0000 Subject: [PATCH] Use mpeg2 video inside mpeg transport stream. Use mpeg2 video inside mpeg transport stream rather than H.263 in AVI. svn path=/trunk/; revision=356 --- src/plugins/test/rygel-test-video-item.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/test/rygel-test-video-item.vala b/src/plugins/test/rygel-test-video-item.vala index ad9c9f6..f43a730 100644 --- a/src/plugins/test/rygel-test-video-item.vala +++ b/src/plugins/test/rygel-test-video-item.vala @@ -33,8 +33,8 @@ using Gst; * Represents Test video item. */ public class Rygel.TestVideoItem : Rygel.TestItem { - const string TEST_PATH = "/test.avi"; - const string TEST_MIMETYPE = "video/x-msvideo"; + const string TEST_PATH = "/test.mpeg"; + const string TEST_MIMETYPE = "video/mpeg"; public TestVideoItem (string id, string parent_id, @@ -53,8 +53,8 @@ public class Rygel.TestVideoItem : Rygel.TestItem { Bin bin = new Bin (this.title); dynamic Element src = ElementFactory.make ("videotestsrc", null); - Element encoder = ElementFactory.make ("ffenc_h263", null); - Element muxer = ElementFactory.make ("avimux", null); + Element encoder = ElementFactory.make ("ffenc_mpeg2video", null); + Element muxer = ElementFactory.make ("mpegtsmux", null); if (src == null || muxer == null || encoder == null) { throw new GstStreamError.MISSING_PLUGIN ("Required plugin missing"); -- 2.7.4