mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
theoradec: remove unused codec state variable
The last user of this state was removed in 9a541157cf
"theoradec: Fix
decoding in the presence of GstVideoCropMeta".
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4600>
This commit is contained in:
parent
681f042f27
commit
9dd6b08fcc
1 changed files with 0 additions and 4 deletions
|
@ -920,7 +920,6 @@ static gboolean
|
|||
theora_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||
{
|
||||
GstTheoraDec *dec = GST_THEORA_DEC (decoder);
|
||||
GstVideoCodecState *state;
|
||||
GstBufferPool *pool;
|
||||
guint size, min, max;
|
||||
GstStructure *config;
|
||||
|
@ -929,8 +928,6 @@ theora_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
|||
query))
|
||||
return FALSE;
|
||||
|
||||
state = gst_video_decoder_get_output_state (decoder);
|
||||
|
||||
gst_query_parse_nth_allocation_pool (query, 0, &pool, &size, &min, &max);
|
||||
|
||||
dec->can_crop = FALSE;
|
||||
|
@ -965,7 +962,6 @@ theora_dec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
|||
gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max);
|
||||
|
||||
gst_object_unref (pool);
|
||||
gst_video_codec_state_unref (state);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue