vdpauvideopostprocess: fix crasher on setting properties before we're in READY
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Sat, 1 May 2010 12:45:04 +0000 (14:45 +0200)
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Sat, 1 May 2010 12:46:11 +0000 (14:46 +0200)
sys/vdpau/gstvdpvideopostprocess.c

index 304db48..506f6d2 100644 (file)
@@ -1245,6 +1245,7 @@ gst_vdp_vpp_init (GstVdpVideoPostProcess * vpp,
   GstPadTemplate *src_template, *sink_template;
 
   vpp->device = NULL;
+  vpp->mixer = VDP_INVALID_HANDLE;
 
   vpp->display = NULL;