mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
bad: Update indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4023>
This commit is contained in:
parent
f3f220d04b
commit
025adaff4b
4 changed files with 11 additions and 7 deletions
|
@ -1068,9 +1068,10 @@ gst_amf_encoder_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
void
|
||||
gst_amf_encoder_set_subclass_data (GstAmfEncoder * encoder, gint64 adapter_luid,
|
||||
const wchar_t *codec_id)
|
||||
const wchar_t * codec_id)
|
||||
{
|
||||
GstAmfEncoderPrivate *priv;
|
||||
|
||||
|
@ -1080,3 +1081,4 @@ gst_amf_encoder_set_subclass_data (GstAmfEncoder * encoder, gint64 adapter_luid,
|
|||
priv->adapter_luid = adapter_luid;
|
||||
priv->codec_id = codec_id;
|
||||
}
|
||||
/* *INDENT-ON* */
|
||||
|
|
|
@ -318,7 +318,9 @@ create_device (const DXGI_ADAPTER_DESC * adapter_desc,
|
|||
GstCaps *caps;
|
||||
gint width, height, left, top, right, bottom;
|
||||
GstStructure *props;
|
||||
std::wstring_convert < std::codecvt_utf8 < wchar_t >, wchar_t >converter;
|
||||
/* *INDENT-OFF* */
|
||||
std::wstring_convert < std::codecvt_utf8 < wchar_t >, wchar_t > converter;
|
||||
/* *INDENT-ON* */
|
||||
std::string device_name;
|
||||
std::string display_name;
|
||||
std::string device_path;
|
||||
|
|
|
@ -388,6 +388,7 @@ gst_mf_media_type_to_video_caps (IMFMediaType * media_type)
|
|||
SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER)
|
||||
#endif
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static struct
|
||||
{
|
||||
guint64 mf_pos;
|
||||
|
@ -416,7 +417,6 @@ static struct
|
|||
{SPEAKER_TOP_BACK_RIGHT, GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT}
|
||||
};
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
static DWORD default_ch_masks[] = {
|
||||
0,
|
||||
KSAUDIO_SPEAKER_MONO,
|
||||
|
|
|
@ -21,13 +21,12 @@
|
|||
|
||||
#include <wrl.h>
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
using namespace Microsoft::WRL;
|
||||
/* *INDENT-ON* */
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_wic_utils_debug);
|
||||
#define GST_CAT_DEFAULT gst_wic_utils_debug
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
using namespace Microsoft::WRL;
|
||||
|
||||
static struct
|
||||
{
|
||||
WICPixelFormatGUID guid;
|
||||
|
@ -46,6 +45,7 @@ static struct
|
|||
{GUID_WICPixelFormat32bppBGRA, GST_VIDEO_FORMAT_BGRA},
|
||||
{GUID_WICPixelFormat64bppRGBA, GST_VIDEO_FORMAT_RGBA64_LE},
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
||||
gboolean
|
||||
gst_wic_pixel_format_to_gst (REFWICPixelFormatGUID guid,
|
||||
|
|
Loading…
Reference in a new issue