[clutter-gst] video-sink: clear textures when new caps are detected



commit 05e30f8a99c9440def8155237d32525b4a283972
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Sat Jun 21 21:41:50 2014 +0100

    video-sink: clear textures when new caps are detected

 clutter-gst/clutter-gst-video-sink.c |    1 +
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]