ges-audio-track: Switch to GST_AUDIO_NE()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8984>
This commit is contained in:
parent
d3658eef72
commit
19e35473f0
@ -50,14 +50,8 @@
|
|||||||
#include "ges-audio-track.h"
|
#include "ges-audio-track.h"
|
||||||
|
|
||||||
#define DEFAULT_CAPS "audio/x-raw"
|
#define DEFAULT_CAPS "audio/x-raw"
|
||||||
|
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=" GST_AUDIO_NE (S32) ", "\
|
||||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
"channels=2, rate=44100, layout=interleaved"
|
||||||
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=S32LE, channels=2, "\
|
|
||||||
"rate=44100, layout=interleaved"
|
|
||||||
#else
|
|
||||||
#define DEFAULT_RESTRICTION_CAPS "audio/x-raw, format=S32BE, channels=2, "\
|
|
||||||
"rate=44100, layout=interleaved"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct _GESAudioTrackPrivate
|
struct _GESAudioTrackPrivate
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user