From: Ronald S. Bultje Date: Fri, 5 Aug 2005 15:53:25 +0000 (+0000) Subject: gst/playback/gstplaybin.c: Enable videoscale. X-Git-Tag: RELEASE-0_9_1~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70f589da21694f040ef4344a13760ed85ac8da4f;p=platform%2Fupstream%2Fgst-plugins-base.git gst/playback/gstplaybin.c: Enable videoscale. Original commit message from CVS: * gst/playback/gstplaybin.c: (gen_video_element): Enable videoscale. --- diff --git a/ChangeLog b/ChangeLog index 1c1ca5beb..77432c478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-05 Ronald S. Bultje + + * gst/playback/gstplaybin.c: (gen_video_element): + Enable videoscale. + 2005-08-05 Ronald S. Bultje * gst-libs/gst/gconf/gconf.c: diff --git a/gst/playback/gstplaybin.c b/gst/playback/gstplaybin.c index 7e411c091..93442d08a 100644 --- a/gst/playback/gstplaybin.c +++ b/gst/playback/gstplaybin.c @@ -374,7 +374,7 @@ gen_video_element (GstPlayBin * play_bin) GstElement *element; GstElement *conv; - //GstElement *scale; + GstElement *scale; GstElement *sink; GstElement *identity; GstPad *pad; @@ -390,7 +390,7 @@ gen_video_element (GstPlayBin * play_bin) g_object_set (identity, "silent", TRUE, NULL); g_signal_connect (identity, "handoff", G_CALLBACK (handoff), play_bin); conv = gst_element_factory_make ("ffmpegcolorspace", "vconv"); - //scale = gst_element_factory_make ("videoscale", "vscale"); + scale = gst_element_factory_make ("videoscale", "vscale"); if (play_bin->video_sink) { sink = play_bin->video_sink; } else { @@ -401,11 +401,11 @@ gen_video_element (GstPlayBin * play_bin) gst_bin_add (GST_BIN (element), identity); gst_bin_add (GST_BIN (element), conv); - //gst_bin_add (GST_BIN (element), scale); + gst_bin_add (GST_BIN (element), scale); gst_bin_add (GST_BIN (element), sink); gst_element_link_pads (identity, "src", conv, "sink"); - gst_element_link_pads (conv, "src", /*scale, "sink"); - gst_element_link_pads (scale, "src", */ sink, "sink"); + gst_element_link_pads (conv, "src", scale, "sink"); + gst_element_link_pads (scale, "src", sink, "sink"); pad = gst_element_get_pad (identity, "sink"); gst_element_add_pad (element, gst_ghost_pad_new ("sink", pad));