Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Dröge
gst-plugins-base
Commits
c3e4d8ca
Commit
c3e4d8ca
authored
Aug 14, 2015
by
George Kiagiadakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appsink: do not update preroll_caps unless the sink is prerolling
Just for consistency with the preroll_segment
parent
41cb26b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gst-libs/gst/app/gstappsink.c
gst-libs/gst/app/gstappsink.c
+2
-1
No files found.
gst-libs/gst/app/gstappsink.c
View file @
c3e4d8ca
...
...
@@ -554,7 +554,8 @@ gst_app_sink_setcaps (GstBaseSink * sink, GstCaps * caps)
g_mutex_lock
(
&
priv
->
mutex
);
GST_DEBUG_OBJECT
(
appsink
,
"receiving CAPS"
);
g_queue_push_tail
(
priv
->
queue
,
gst_event_new_caps
(
caps
));
gst_caps_replace
(
&
priv
->
preroll_caps
,
caps
);
if
(
!
priv
->
preroll
)
gst_caps_replace
(
&
priv
->
preroll_caps
,
caps
);
g_mutex_unlock
(
&
priv
->
mutex
);
return
TRUE
;
...
...
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