From 4c0af72b1264fdd38dae4f91225570b63a7681a5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 28 Nov 2006 16:43:18 +0000 Subject: [PATCH] gst/playback/gstplaybasebin.c: Improve debug. Original commit message from CVS: * gst/playback/gstplaybasebin.c: (check_queue_event): Improve debug. * gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps): Fix width and height range from 16 - 4096 to 1 - MAXINT, just like the padtemplate caps. Refixes #357577. --- ChangeLog | 9 +++++++++ gst/playback/gstplaybasebin.c | 2 +- gst/videoscale/gstvideoscale.c | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index faa678a0a..437fc921a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-11-28 Wim Taymans + + * gst/playback/gstplaybasebin.c: (check_queue_event): + Improve debug. + + * gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps): + Fix width and height range from 16 - 4096 to 1 - MAXINT, just like the + padtemplate caps. Refixes #357577. + 2006-11-28 Wim Taymans * gst/playback/gstplaybasebin.c: (check_queue_event), diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index e0f32ba6f..7e2ef7dae 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -508,7 +508,7 @@ check_queue_event (GstPad * pad, GstEvent * event, gpointer user_data) g_object_set_data (G_OBJECT (queue), "eos", NULL); break; default: - GST_DEBUG ("uninteresting event"); + GST_DEBUG ("uninteresting event %s", GST_EVENT_TYPE_NAME (event)); break; } return TRUE; diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index c1e203b45..03a35e9c3 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -350,8 +350,8 @@ gst_video_scale_transform_caps (GstBaseTransform * trans, structure = gst_caps_get_structure (ret, 0); gst_structure_set (structure, - "width", GST_TYPE_INT_RANGE, 16, 4096, - "height", GST_TYPE_INT_RANGE, 16, 4096, NULL); + "width", GST_TYPE_INT_RANGE, 1, G_MAXINT, + "height", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL); /* if pixel aspect ratio, make a range of it */ if ((par = gst_structure_get_value (structure, "pixel-aspect-ratio"))) { -- 2.34.1