androidmedia: Fix indention
This commit is contained in:
parent
0a90994b99
commit
e66f097f37
@ -98,7 +98,8 @@ gst_amc_audio_dec_get_type (void)
|
|||||||
_type = g_type_register_static (GST_TYPE_AUDIO_DECODER, "GstAmcAudioDec",
|
_type = g_type_register_static (GST_TYPE_AUDIO_DECODER, "GstAmcAudioDec",
|
||||||
&info, 0);
|
&info, 0);
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_amc_audio_dec_debug_category, "amcaudiodec", 0, "Android MediaCodec audio decoder");
|
GST_DEBUG_CATEGORY_INIT (gst_amc_audio_dec_debug_category, "amcaudiodec", 0,
|
||||||
|
"Android MediaCodec audio decoder");
|
||||||
|
|
||||||
g_once_init_leave (&type, _type);
|
g_once_init_leave (&type, _type);
|
||||||
}
|
}
|
||||||
@ -502,7 +503,8 @@ gst_amc_audio_dec_set_src_caps (GstAmcAudioDec * self, GstAmcFormat * format)
|
|||||||
gst_audio_info_set_format (&self->info, GST_AUDIO_FORMAT_S16, rate, channels,
|
gst_audio_info_set_format (&self->info, GST_AUDIO_FORMAT_S16, rate, channels,
|
||||||
to);
|
to);
|
||||||
|
|
||||||
if (!gst_audio_decoder_set_output_format (GST_AUDIO_DECODER (self), &self->info))
|
if (!gst_audio_decoder_set_output_format (GST_AUDIO_DECODER (self),
|
||||||
|
&self->info))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
self->input_caps_changed = FALSE;
|
self->input_caps_changed = FALSE;
|
||||||
|
@ -126,7 +126,8 @@ gst_amc_video_dec_get_type (void)
|
|||||||
_type = g_type_register_static (GST_TYPE_VIDEO_DECODER, "GstAmcVideoDec",
|
_type = g_type_register_static (GST_TYPE_VIDEO_DECODER, "GstAmcVideoDec",
|
||||||
&info, 0);
|
&info, 0);
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_amc_video_dec_debug_category, "amcvideodec", 0, "Android MediaCodec video decoder");
|
GST_DEBUG_CATEGORY_INIT (gst_amc_video_dec_debug_category, "amcvideodec", 0,
|
||||||
|
"Android MediaCodec video decoder");
|
||||||
|
|
||||||
g_once_init_leave (&type, _type);
|
g_once_init_leave (&type, _type);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user