namespace cv {
namespace gapi {
namespace wip {
namespace gst {

#ifdef HAVE_GSTREAMER

class GStreamerPipeline::Priv
{
public:
    explicit Priv(const std::string& pipeline);

    IStreamSource::Ptr getStreamingSource(const std::string& appsinkName,
                                          const GStreamerSource::OutputType outputType);

    virtual ~Priv();

protected:
    std::shared_ptr<GStreamerPipelineFacade> m_pipeline;
    std::unordered_map<std::string, bool> m_appsinkNamesToUse;
};

#else // HAVE_GSTREAMER

class GStreamerPipeline::Priv
{
public:
    explicit Priv(const std::string& pipeline);

    IStreamSource::Ptr getStreamingSource(const std::string& appsinkName,
                                          const GStreamerSource::OutputType outputType);

    virtual ~Priv();
};

#endif // HAVE_GSTREAMER

} // namespace gst
} // namespace wip
} // namespace gapi
} // namespace cv


#endif // OPENCV_GAPI_STREAMING_GSTREAMER_GSTREAMERPIPELINE_PRIV_HPP
