summaryrefslogtreecommitdiffstats
path: root/patches/gst-plugins-good-0.10.30/0001-gstv4l2sink-destroy-open-buffers-when-changing-to-NU.patch
blob: 39ebb6be89ceddff65eb9ce12fbcb6d668db95f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 5423cc8de5c5ea0772043e03d3501a5560444b00 Mon Sep 17 00:00:00 2001
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
Date: Mon, 18 Apr 2011 11:35:21 +0200
Subject: [PATCH] follow up on bug:622500 in gst-plugins-good bugzilla

The situation is still unclear, so just for now we will
keep that patch to check on this again later.
---
 sys/v4l2/gstv4l2sink.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sys/v4l2/gstv4l2sink.c b/sys/v4l2/gstv4l2sink.c
index aa6785c..0df7faa 100644
--- a/sys/v4l2/gstv4l2sink.c
+++ b/sys/v4l2/gstv4l2sink.c
@@ -725,6 +725,7 @@ gst_v4l2sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
      *   gst_v4l2_buffer_pool_destroy()
      *
      */
+    gst_v4l2_object_stop_streaming(v4l2sink->v4l2object);
     GST_DEBUG_OBJECT (v4l2sink, "warning, changing caps not supported yet");
     return FALSE;
   }
-- 
1.7.4.1