summaryrefslogtreecommitdiff
path: root/sys/vdpau/gstvdpmpegdec.h
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-06-07 01:12:50 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:45 +0100
commit636ae49bee677ee56f6c480c78f6f4eda8eeab51 (patch)
tree490ee4577b972bd5a20e24c0648e4a721db61c03 /sys/vdpau/gstvdpmpegdec.h
parent3fa60712f2f86591d7ab7b0c454e1676ad72b751 (diff)
vdpaumpegdec: use mutex to protect mpeg_dec->seeking from concurrent access
Diffstat (limited to 'sys/vdpau/gstvdpmpegdec.h')
-rw-r--r--sys/vdpau/gstvdpmpegdec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdec.h b/sys/vdpau/gstvdpmpegdec.h
index b60c9f59b..66a41805f 100644
--- a/sys/vdpau/gstvdpmpegdec.h
+++ b/sys/vdpau/gstvdpmpegdec.h
@@ -78,6 +78,9 @@ struct _GstVdpMpegDec
GstSegment segment;
gboolean seeking;
gint64 byterate;
+
+ /* mutex */
+ GMutex *mutex;
};