mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst-plugins-base: gstaudiochannels: Handled buffer mapping failure
https://bugzilla.gnome.org/show_bug.cgi?id=789458
This commit is contained in:
parent
6fd8d78d8b
commit
346c24dc4b
1 changed files with 2 additions and 1 deletions
|
@ -277,7 +277,8 @@ gst_audio_buffer_reorder_channels (GstBuffer * buffer,
|
||||||
if (gst_audio_channel_positions_equal (from, to, channels))
|
if (gst_audio_channel_positions_equal (from, to, channels))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
gst_buffer_map (buffer, &info, GST_MAP_READWRITE);
|
if (!gst_buffer_map (buffer, &info, GST_MAP_READWRITE))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
ret =
|
ret =
|
||||||
gst_audio_reorder_channels (info.data, info.size, format, channels, from,
|
gst_audio_reorder_channels (info.data, info.size, format, channels, from,
|
||||||
|
|
Loading…
Reference in a new issue