mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
qtdemux: run gst-indent
Otherwise commits will fail with our indent check hook
This commit is contained in:
parent
c65b66432e
commit
b46af7fda7
1 changed files with 10 additions and 8 deletions
|
@ -5223,25 +5223,27 @@ gst_qtdemux_loop_state_movie (GstQTDemux * qtdemux)
|
||||||
if (qtdemux->cenc_aux_info_offset > 0) {
|
if (qtdemux->cenc_aux_info_offset > 0) {
|
||||||
GstMapInfo map;
|
GstMapInfo map;
|
||||||
GstByteReader br;
|
GstByteReader br;
|
||||||
GstBuffer* aux_info = NULL;
|
GstBuffer *aux_info = NULL;
|
||||||
|
|
||||||
/* pull the data stored before the sample */
|
/* pull the data stored before the sample */
|
||||||
ret = gst_qtdemux_pull_atom (qtdemux, qtdemux->offset, offset + stream->offset_in_sample - qtdemux->offset, &aux_info);
|
ret =
|
||||||
|
gst_qtdemux_pull_atom (qtdemux, qtdemux->offset,
|
||||||
|
offset + stream->offset_in_sample - qtdemux->offset, &aux_info);
|
||||||
if (G_UNLIKELY (ret != GST_FLOW_OK))
|
if (G_UNLIKELY (ret != GST_FLOW_OK))
|
||||||
goto beach;
|
goto beach;
|
||||||
gst_buffer_map(aux_info, &map, GST_MAP_READ);
|
gst_buffer_map (aux_info, &map, GST_MAP_READ);
|
||||||
GST_DEBUG_OBJECT (qtdemux, "parsing cenc auxiliary info");
|
GST_DEBUG_OBJECT (qtdemux, "parsing cenc auxiliary info");
|
||||||
gst_byte_reader_init (&br, map.data + 8, map.size);
|
gst_byte_reader_init (&br, map.data + 8, map.size);
|
||||||
if (!qtdemux_parse_cenc_aux_info (qtdemux, stream, &br,
|
if (!qtdemux_parse_cenc_aux_info (qtdemux, stream, &br,
|
||||||
qtdemux->cenc_aux_info_sizes, qtdemux->cenc_aux_sample_count)) {
|
qtdemux->cenc_aux_info_sizes, qtdemux->cenc_aux_sample_count)) {
|
||||||
GST_ERROR_OBJECT (qtdemux, "failed to parse cenc auxiliary info");
|
GST_ERROR_OBJECT (qtdemux, "failed to parse cenc auxiliary info");
|
||||||
gst_buffer_unmap(aux_info, &map);
|
gst_buffer_unmap (aux_info, &map);
|
||||||
gst_buffer_unref(aux_info);
|
gst_buffer_unref (aux_info);
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
gst_buffer_unmap(aux_info, &map);
|
gst_buffer_unmap (aux_info, &map);
|
||||||
gst_buffer_unref(aux_info);
|
gst_buffer_unref (aux_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_LOG_OBJECT (qtdemux, "reading %d bytes @ %" G_GUINT64_FORMAT, size,
|
GST_LOG_OBJECT (qtdemux, "reading %d bytes @ %" G_GUINT64_FORMAT, size,
|
||||||
|
|
Loading…
Reference in a new issue