summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-21 16:10:03 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-21 16:10:03 -0300
commitc657cdbb02cb30c9a2542373152defda8b4d6455 (patch)
tree3b8599e1351f1829426c8929d0485dbdc87dcd8b
parent2c996fb719dc781148e6b74c06165a4eacce9ec1 (diff)
Revert "videorate: fixate the pixel-aspect-ratio"reverted-acceptcaps
-rw-r--r--gst/videorate/gstvideorate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/videorate/gstvideorate.c b/gst/videorate/gstvideorate.c
index 9b9f260c6..15b11ffeb 100644
--- a/gst/videorate/gstvideorate.c
+++ b/gst/videorate/gstvideorate.c
@@ -478,7 +478,6 @@ gst_video_rate_fixate_caps (GstBaseTransform * trans,
{
GstStructure *s;
gint num, denom;
- const GValue *par;
s = gst_caps_get_structure (caps, 0);
if (G_UNLIKELY (!gst_structure_get_fraction (s, "framerate", &num, &denom)))
@@ -489,9 +488,6 @@ gst_video_rate_fixate_caps (GstBaseTransform * trans,
s = gst_caps_get_structure (othercaps, 0);
gst_structure_fixate_field_nearest_fraction (s, "framerate", num, denom);
- if ((par = gst_structure_get_value (s, "pixel-aspect-ratio")))
- gst_structure_fixate_field_nearest_fraction (s, "pixel-aspect-ratio", 1, 1);
-
return othercaps;
}