summaryrefslogtreecommitdiff
path: root/gst/closedcaption/gstccextractor.h
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-03-23 11:27:00 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-03-23 11:34:39 +0100
commit0fe8295e4a7a7cc2535e9bbbfa32c76056952ccf (patch)
tree219b9c24bf83f05d5f16468ae5a0115b9fb5aa0f /gst/closedcaption/gstccextractor.h
parent939e5afd43028c2d677e1b1822b000f669842318 (diff)
ccextractor: Use GstFlowCombiner for aggregated flow returnclosedcaption
Ensures that if ever there's an issue from downstream that needs to be propagated upstream it is. Also handle a couple more error cases with GST_FLOW_NOT_NEGOTIATED
Diffstat (limited to 'gst/closedcaption/gstccextractor.h')
-rw-r--r--gst/closedcaption/gstccextractor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/closedcaption/gstccextractor.h b/gst/closedcaption/gstccextractor.h
index 728072ada..2ad8bd394 100644
--- a/gst/closedcaption/gstccextractor.h
+++ b/gst/closedcaption/gstccextractor.h
@@ -22,6 +22,7 @@
#define __GST_CCEXTRACTOR_H__
#include <gst/gst.h>
+#include <gst/base/gstflowcombiner.h>
#include <gst/video/video-anc.h>
G_BEGIN_DECLS
@@ -45,6 +46,8 @@ struct _GstCCExtractor
GstPad *sinkpad, *srcpad, *captionpad;
GstVideoCaptionType caption_type;
+
+ GstFlowCombiner *combiner;
};
struct _GstCCExtractorClass