mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
gst-libav: re-indent with GNU indent 2.2.12
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4182>
This commit is contained in:
parent
00ae689f7c
commit
3ad4128084
3 changed files with 64 additions and 62 deletions
|
@ -49,7 +49,8 @@ static const struct
|
|||
AV_CH_LOW_FREQUENCY, GST_AUDIO_CHANNEL_POSITION_LFE1}, {
|
||||
AV_CH_BACK_LEFT, GST_AUDIO_CHANNEL_POSITION_REAR_LEFT}, {
|
||||
AV_CH_BACK_RIGHT, GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT}, {
|
||||
AV_CH_FRONT_LEFT_OF_CENTER, GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER}, {
|
||||
AV_CH_FRONT_LEFT_OF_CENTER,
|
||||
GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER}, {
|
||||
AV_CH_FRONT_RIGHT_OF_CENTER,
|
||||
GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER}, {
|
||||
AV_CH_BACK_CENTER, GST_AUDIO_CHANNEL_POSITION_REAR_CENTER}, {
|
||||
|
@ -340,7 +341,8 @@ gst_ff_vid_caps_new (AVCodecContext * context, const AVCodec * codec,
|
|||
"Y42B", 960, 720, 1, 1, 60000, 1001}, {
|
||||
"Y42B", 960, 720, 4, 3, 60000, 1001}, {
|
||||
"Y42B", 960, 720, 1, 1, 50, 1}, {
|
||||
"Y42B", 960, 720, 4, 3, 50, 1},};
|
||||
"Y42B", 960, 720, 4, 3, 50, 1},
|
||||
};
|
||||
GstCaps *temp;
|
||||
gint n_sizes = G_N_ELEMENTS (profiles);
|
||||
|
||||
|
@ -2618,7 +2620,7 @@ gst_ffmpeg_caps_to_smpfmt (const GstCaps * caps,
|
|||
}
|
||||
|
||||
layout = gst_structure_get_string (structure, "layout");
|
||||
interleaved = ! !g_strcmp0 (layout, "non-interleaved");
|
||||
interleaved = !!g_strcmp0 (layout, "non-interleaved");
|
||||
|
||||
switch (format) {
|
||||
case GST_AUDIO_FORMAT_F32:
|
||||
|
@ -3623,7 +3625,7 @@ gst_ffmpeg_formatid_to_caps (const gchar * format_name)
|
|||
|
||||
gboolean
|
||||
gst_ffmpeg_formatid_get_codecids (const gchar * format_name,
|
||||
enum AVCodecID ** video_codec_list, enum AVCodecID ** audio_codec_list,
|
||||
enum AVCodecID **video_codec_list, enum AVCodecID **audio_codec_list,
|
||||
AVOutputFormat * plugin)
|
||||
{
|
||||
static enum AVCodecID tmp_vlist[] = {
|
||||
|
|
|
@ -1348,7 +1348,7 @@ gst_ffmpegviddec_negotiate (GstFFMpegVidDec * ffmpegdec,
|
|||
GstStructure *in_s;
|
||||
GstVideoInterlaceMode interlace_mode;
|
||||
gint caps_height;
|
||||
gboolean one_field = ! !(flags & GST_VIDEO_BUFFER_FLAG_ONEFIELD);
|
||||
gboolean one_field = !!(flags & GST_VIDEO_BUFFER_FLAG_ONEFIELD);
|
||||
|
||||
if (!update_video_context (ffmpegdec, context, picture, one_field))
|
||||
return TRUE;
|
||||
|
@ -1846,7 +1846,7 @@ gst_ffmpegviddec_video_frame (GstFFMpegVidDec * ffmpegdec,
|
|||
GST_DEBUG_OBJECT (ffmpegdec, "repeat_pict:%d",
|
||||
ffmpegdec->picture->repeat_pict);
|
||||
GST_DEBUG_OBJECT (ffmpegdec, "corrupted frame: %d",
|
||||
! !(ffmpegdec->picture->flags & AV_FRAME_FLAG_CORRUPT));
|
||||
!!(ffmpegdec->picture->flags & AV_FRAME_FLAG_CORRUPT));
|
||||
|
||||
if (!gst_ffmpegviddec_negotiate (ffmpegdec, ffmpegdec->context,
|
||||
ffmpegdec->picture, GST_BUFFER_FLAGS (out_frame->input_buffer)))
|
||||
|
|
Loading…
Reference in a new issue