projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b6d24
)
dvdspu: Add a guard when we don't have any subpicture buffer to render
author
Jan Schmidt
<thaytan@noraisin.net>
Fri, 8 May 2009 16:40:48 +0000
(17:40 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Mon, 11 May 2009 16:04:08 +0000
(17:04 +0100)
gst/dvdspu/gstdvdspu-render.c
patch
|
blob
|
history
diff --git
a/gst/dvdspu/gstdvdspu-render.c
b/gst/dvdspu/gstdvdspu-render.c
index
e3bae8b
..
a8dadee
100644
(file)
--- a/
gst/dvdspu/gstdvdspu-render.c
+++ b/
gst/dvdspu/gstdvdspu-render.c
@@
-400,6
+400,8
@@
gst_dvd_spu_render_spu (GstDVDSpu * dvdspu, GstBuffer * buf)
gint y, last_y;
/* Set up our initial state */
+ if (G_UNLIKELY (state->pix_buf == NULL))
+ return;
/* Store the start of each plane */
planes[0] = GST_BUFFER_DATA (buf);