mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
flvdemux: Fix indention
This commit is contained in:
parent
6af516b21f
commit
5e88b53212
1 changed files with 12 additions and 8 deletions
|
@ -927,16 +927,18 @@ gst_flv_demux_parse_tag_audio (GstFlvDemux * demux, GstBuffer * buffer)
|
||||||
|
|
||||||
GST_LOG_OBJECT (demux, "parsing an audio tag");
|
GST_LOG_OBJECT (demux, "parsing an audio tag");
|
||||||
|
|
||||||
if G_UNLIKELY (!demux->audio_pad && demux->no_more_pads) {
|
if G_UNLIKELY
|
||||||
|
(!demux->audio_pad && demux->no_more_pads) {
|
||||||
#ifndef GST_DISABLE_DEBUG
|
#ifndef GST_DISABLE_DEBUG
|
||||||
if G_UNLIKELY (!demux->no_audio_warned) {
|
if G_UNLIKELY
|
||||||
|
(!demux->no_audio_warned) {
|
||||||
GST_WARNING_OBJECT (demux,
|
GST_WARNING_OBJECT (demux,
|
||||||
"Signaled no-more-pads already but had no audio pad -- ignoring");
|
"Signaled no-more-pads already but had no audio pad -- ignoring");
|
||||||
demux->no_audio_warned = TRUE;
|
demux->no_audio_warned = TRUE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_val_if_fail (gst_buffer_get_size (buffer) == demux->tag_size,
|
g_return_val_if_fail (gst_buffer_get_size (buffer) == demux->tag_size,
|
||||||
GST_FLOW_ERROR);
|
GST_FLOW_ERROR);
|
||||||
|
@ -1332,16 +1334,18 @@ gst_flv_demux_parse_tag_video (GstFlvDemux * demux, GstBuffer * buffer)
|
||||||
|
|
||||||
GST_LOG_OBJECT (demux, "parsing a video tag");
|
GST_LOG_OBJECT (demux, "parsing a video tag");
|
||||||
|
|
||||||
if G_UNLIKELY (!demux->video_pad && demux->no_more_pads) {
|
if G_UNLIKELY
|
||||||
|
(!demux->video_pad && demux->no_more_pads) {
|
||||||
#ifndef GST_DISABLE_DEBUG
|
#ifndef GST_DISABLE_DEBUG
|
||||||
if G_UNLIKELY (!demux->no_video_warned) {
|
if G_UNLIKELY
|
||||||
|
(!demux->no_video_warned) {
|
||||||
GST_WARNING_OBJECT (demux,
|
GST_WARNING_OBJECT (demux,
|
||||||
"Signaled no-more-pads already but had no video pad -- ignoring");
|
"Signaled no-more-pads already but had no video pad -- ignoring");
|
||||||
demux->no_video_warned = TRUE;
|
demux->no_video_warned = TRUE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gst_buffer_get_size (buffer) < 12) {
|
if (gst_buffer_get_size (buffer) < 12) {
|
||||||
GST_ERROR_OBJECT (demux, "Too small tag size");
|
GST_ERROR_OBJECT (demux, "Too small tag size");
|
||||||
|
|
Loading…
Reference in a new issue