mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
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
This commit is contained in:
parent
3dc3aa4e3b
commit
da52868f46
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue