summaryrefslogtreecommitdiff
path: root/gst/dvdspu/gstdvdspu.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-04-30 14:20:16 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-04-30 14:20:16 +0200
commit5704bc8f89c745a86dbe435a2e2c008c499e8132 (patch)
tree6ce821567937fbc15ace292e6d60b60231a12b28 /gst/dvdspu/gstdvdspu.h
parentf38cb76b5f2db479ab488bc1de2b53b5700f984a (diff)
downloadgstreamer-plugins-bad-5704bc8f89c745a86dbe435a2e2c008c499e8132.tar.gz
dvdspu: do some basic clipping
Add some basic clipping of the subtitle region when the subtitle is bigger than the image we should put it on.
Diffstat (limited to 'gst/dvdspu/gstdvdspu.h')
-rw-r--r--gst/dvdspu/gstdvdspu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/dvdspu/gstdvdspu.h b/gst/dvdspu/gstdvdspu.h
index 0432a3af9..dfc51f9e9 100644
--- a/gst/dvdspu/gstdvdspu.h
+++ b/gst/dvdspu/gstdvdspu.h
@@ -122,6 +122,7 @@ struct SpuState {
GstBuffer *pix_buf; /* Current SPU packet the pix_data references */
SpuRect disp_rect;
+ SpuRect clip_rect;
SpuRect hl_rect;
guint32 current_clut[16]; /* Colour lookup table from incoming events */