Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yeongjin Jeong
gst-plugins-bad
Commits
1d7a63b4
Commit
1d7a63b4
authored
Aug 02, 2018
by
Nirbheek Chauhan
🐜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wasapisrc: Correctly disable provide-clock
`#ifdef` will, of course, evaluate to 1 in this case. We want `#if`.
parent
f06c2fe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sys/wasapi/gstwasapisrc.c
sys/wasapi/gstwasapisrc.c
+3
-3
No files found.
sys/wasapi/gstwasapisrc.c
View file @
1d7a63b4
...
...
@@ -89,7 +89,7 @@ static guint gst_wasapi_src_read (GstAudioSrc * asrc, gpointer data,
static
guint
gst_wasapi_src_delay
(
GstAudioSrc
*
asrc
);
static
void
gst_wasapi_src_reset
(
GstAudioSrc
*
asrc
);
#if
def
DEFAULT_PROVIDE_CLOCK
#if DEFAULT_PROVIDE_CLOCK
static
GstClockTime
gst_wasapi_src_get_time
(
GstClock
*
clock
,
gpointer
user_data
);
#endif
...
...
@@ -165,7 +165,7 @@ gst_wasapi_src_class_init (GstWasapiSrcClass * klass)
static
void
gst_wasapi_src_init
(
GstWasapiSrc
*
self
)
{
#if
def
DEFAULT_PROVIDE_CLOCK
#if DEFAULT_PROVIDE_CLOCK
/* override with a custom clock */
if
(
GST_AUDIO_BASE_SRC
(
self
)
->
clock
)
gst_object_unref
(
GST_AUDIO_BASE_SRC
(
self
)
->
clock
);
...
...
@@ -663,7 +663,7 @@ gst_wasapi_src_reset (GstAudioSrc * asrc)
GST_OBJECT_UNLOCK
(
self
);
}
#if
def
DEFAULT_PROVIDE_CLOCK
#if DEFAULT_PROVIDE_CLOCK
static
GstClockTime
gst_wasapi_src_get_time
(
GstClock
*
clock
,
gpointer
user_data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment