projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e2682
)
playsink: only add text overlay if vido sink also accepts raw caps
author
Josep Torra
<n770galaxy@gmail.com>
Wed, 7 Sep 2011 14:04:43 +0000
(16:04 +0200)
committer
Josep Torra
<n770galaxy@gmail.com>
Wed, 7 Sep 2011 14:08:38 +0000
(16:08 +0200)
Fixes regression, pipeline fails with not negotiated, on media
containing subtitles when decoder/sink with custom caps is used.
gst/playback/gstplaysink.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaysink.c
b/gst/playback/gstplaysink.c
index
32d0ae7
..
78ef84f
100644
(file)
--- a/
gst/playback/gstplaysink.c
+++ b/
gst/playback/gstplaysink.c
@@
-2114,7
+2114,8
@@
gst_play_sink_reconfigure (GstPlaySink * playsink)
GST_OBJECT_UNLOCK (playsink);
/* figure out which components we need */
- if (flags & GST_PLAY_FLAG_TEXT && playsink->text_pad) {
+ if (flags & GST_PLAY_FLAG_TEXT && playsink->video_pad_raw
+ && playsink->text_pad) {
/* we have subtitles and we are requested to show it */
need_text = TRUE;
}