mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
Merge branch 'master' into 0.11
This commit is contained in:
commit
f97a9bdc68
2 changed files with 12 additions and 1 deletions
|
@ -760,7 +760,7 @@ gst_audio_decoder_finish_frame (GstAudioDecoder * dec, GstBuffer * buf,
|
||||||
priv->pending_events = NULL;
|
priv->pending_events = NULL;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (dec, "Pushing pending events");
|
GST_DEBUG_OBJECT (dec, "Pushing pending events");
|
||||||
for (l = priv->pending_events; l; l = l->next)
|
for (l = pending_events; l; l = l->next)
|
||||||
gst_pad_push_event (dec->srcpad, l->data);
|
gst_pad_push_event (dec->srcpad, l->data);
|
||||||
g_list_free (pending_events);
|
g_list_free (pending_events);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1277,8 +1277,19 @@ gst_audio_encoder_sink_eventfunc (GstAudioEncoder * enc, GstEvent * event)
|
||||||
gst_event_parse_tag (event, &tags);
|
gst_event_parse_tag (event, &tags);
|
||||||
tags = gst_tag_list_copy (tags);
|
tags = gst_tag_list_copy (tags);
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
|
|
||||||
|
/* FIXME: make generic based on GST_TAG_FLAG_ENCODED */
|
||||||
gst_tag_list_remove_tag (tags, GST_TAG_CODEC);
|
gst_tag_list_remove_tag (tags, GST_TAG_CODEC);
|
||||||
gst_tag_list_remove_tag (tags, GST_TAG_AUDIO_CODEC);
|
gst_tag_list_remove_tag (tags, GST_TAG_AUDIO_CODEC);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_VIDEO_CODEC);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_SUBTITLE_CODEC);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_CONTAINER_FORMAT);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_BITRATE);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_NOMINAL_BITRATE);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_MAXIMUM_BITRATE);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_MINIMUM_BITRATE);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_ENCODER);
|
||||||
|
gst_tag_list_remove_tag (tags, GST_TAG_ENCODER_VERSION);
|
||||||
event = gst_event_new_tag (tags);
|
event = gst_event_new_tag (tags);
|
||||||
|
|
||||||
GST_AUDIO_ENCODER_STREAM_LOCK (enc);
|
GST_AUDIO_ENCODER_STREAM_LOCK (enc);
|
||||||
|
|
Loading…
Reference in a new issue