From 6ba8d385e36f0cafd8385fd25631a6233a311294 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 24 Mar 2015 15:47:20 -0400 Subject: [PATCH] Revert "theoradec: Disable usage of crop meta" This reverts commit da52868f468bd75ddb595a3eb52aaa38ecbbac41. --- ext/theora/gsttheoradec.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 75cdfb5..5adb057 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -904,11 +904,7 @@ theora_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query) gst_query_parse_nth_allocation_pool (query, 0, &pool, &size, &min, &max); dec->can_crop = FALSE; - config = gst_buffer_pool_get_config (pool); - - /* FIXME the usage of crop meta is incorrect */ -#if 0 if (gst_query_find_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL)) { gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); @@ -916,7 +912,6 @@ theora_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query) gst_query_find_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, NULL); } -#endif if (dec->can_crop) { GstVideoInfo *info = &dec->uncropped_info; -- 2.7.4