diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-03-01 11:44:22 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-03-24 14:36:12 -0400 |
commit | da52868f468bd75ddb595a3eb52aaa38ecbbac41 (patch) | |
tree | cdca9d0cb25851e8505c24f6955369ff90e48a16 /ext | |
parent | 3dc3aa4e3b47341c199c6e7e2e8974b340031288 (diff) |
theoradec: Disable usage of crop meta
This is a temporary workaround that simply disables usage of crop
meta for now.
https://bugzilla.gnome.org/show_bug.cgi?id=741030
Diffstat (limited to 'ext')
-rw-r--r-- | ext/theora/gsttheoradec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 5adb057c0..75cdfb50f 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -904,7 +904,11 @@ 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); @@ -912,6 +916,7 @@ 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; |