summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2014-06-21 21:41:50 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2014-06-21 21:41:50 +0100
commit05e30f8a99c9440def8155237d32525b4a283972 (patch)
tree4093f735b12388e50605f753e74686ff25991867
parent39b8f42f1a40856947eafbc5b217d5cad5b56ea9 (diff)
downloadclutter-gst-05e30f8a99c9440def8155237d32525b4a283972.tar.gz
video-sink: clear textures when new caps are detected
-rw-r--r--clutter-gst/clutter-gst-video-sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 4d64231..7958b28 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -1925,6 +1925,7 @@ clutter_gst_source_dispatch (GSource *source,
gst_source->has_new_caps = FALSE;
+ clear_frame_textures (gst_source->sink);
dirty_default_pipeline (gst_source->sink);
/* We are now in a state where we could generate the pipeline if