summaryrefslogtreecommitdiff
path: root/include/MediaTransporterGst.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/MediaTransporterGst.h')
-rw-r--r--include/MediaTransporterGst.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/MediaTransporterGst.h b/include/MediaTransporterGst.h
index cf074bf..7cbecfd 100644
--- a/include/MediaTransporterGst.h
+++ b/include/MediaTransporterGst.h
@@ -92,8 +92,9 @@ GstElement*_createElement(std::string factory_name, std::string name ="");
void _connectAndAppendSignal(GList** signals, GObject* obj, const char* sig_name, GCallback cb, gpointer user_data);
void _disconnectSignal(GList** signals, GObject* obj);
void _disconnectSignal(gpointer data);
-bool _addNoTargetGhostpad(GstBin* bin, GstPad** new_pad, bool is_src);
-bool _setGhostpadTarget(GstPad* ghost_pad, GstElement* target_element, bool is_src);
+bool _addNoTargetGhostpad(GstBin* bin, GstPad** new_pad, bool isSrcPad);
+bool _setGhostpadTarget(GstPad* ghost_pad, GstElement* target_element, bool isSrcPad);
+GstPad* _getGhostPadFromBin(GstBin* bin, const std::string& name, bool isSrcPad);
unsigned int _getUnoccupiedSourceId(GHashTable* slots);
void _setElementProperties(GstElement* element, std::vector<std::string> key_value_pairs);
@@ -128,14 +129,15 @@ void _destroyElementFromParent(GstElement* element);
void _printCaps(GstCaps* caps, std::string prefix);
-GstPad* _getGhostPadFromBin(GstBin* bin);
-
void _updateCaps(GstElement* element, const param::videoInfo& vInfo);
void _updateEncCaps(GstElement* element, const param::videoInfo& vInfo);
void _updateCaps(GstElement* element, const param::audioInfo& aInfo);
void _updateEncCaps(GstElement* element, const param::audioInfo& aInfo);
+void _removeAllPads(GstElement* element, bool srcPad);
+void _removeAllElements(GstBin* bin);
+
}; // gst
} // tizen_media_transporter