mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
omxvideodec: Remove workaround for basevideocodec bug
This commit is contained in:
parent
30005be2e5
commit
4c225f9cdd
1 changed files with 0 additions and 18 deletions
|
@ -1108,14 +1108,6 @@ gst_omx_video_dec_set_format (GstBaseVideoDecoder * decoder,
|
|||
if (needs_disable && is_format_change) {
|
||||
gst_omx_video_dec_drain (self);
|
||||
|
||||
/* FIXME: Workaround for
|
||||
* https://bugzilla.gnome.org/show_bug.cgi?id=654529
|
||||
*/
|
||||
g_list_foreach (GST_BASE_VIDEO_CODEC (self)->frames,
|
||||
(GFunc) gst_base_video_codec_free_frame, NULL);
|
||||
g_list_free (GST_BASE_VIDEO_CODEC (self)->frames);
|
||||
GST_BASE_VIDEO_CODEC (self)->frames = NULL;
|
||||
|
||||
if (klass->hacks & GST_OMX_HACK_NO_COMPONENT_RECONFIGURE) {
|
||||
GST_BASE_VIDEO_CODEC_STREAM_UNLOCK (self);
|
||||
gst_omx_video_dec_stop (GST_BASE_VIDEO_DECODER (self));
|
||||
|
@ -1219,16 +1211,6 @@ gst_omx_video_dec_reset (GstBaseVideoDecoder * decoder)
|
|||
|
||||
gst_omx_video_dec_drain (self);
|
||||
|
||||
/* FIXME: Workaround for
|
||||
* https://bugzilla.gnome.org/show_bug.cgi?id=654529
|
||||
*
|
||||
* This is always called with GST_BASE_VIDEO_CODEC_STREAM_LOCK
|
||||
*/
|
||||
g_list_foreach (GST_BASE_VIDEO_CODEC (self)->frames,
|
||||
(GFunc) gst_base_video_codec_free_frame, NULL);
|
||||
g_list_free (GST_BASE_VIDEO_CODEC (self)->frames);
|
||||
GST_BASE_VIDEO_CODEC (self)->frames = NULL;
|
||||
|
||||
gst_omx_port_set_flushing (self->in_port, TRUE);
|
||||
gst_omx_port_set_flushing (self->out_port, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue