20 #ifndef GNASH_MEDIAPARSER_GST_H
21 #define GNASH_MEDIAPARSER_GST_H
24 #include <boost/scoped_array.hpp>
28 #include <boost/optional.hpp>
98 boost::uint64_t _start_time;
117 bool seek(boost::uint32_t&);
125 virtual boost::optional<Id3Info>
getId3Info()
const;
131 void link_to_fakesink(GstPad* pad);
133 static void cb_typefound (GstElement *typefind, guint probability,
134 GstCaps *caps, gpointer
data);
136 static void cb_pad_added(GstElement* element,
137 GstPad* new_pad, gpointer user_data);
138 static void cb_no_more_pads (GstElement* element, gpointer data);
140 static GstFlowReturn cb_chain_func_audio (GstPad *pad, GstBuffer *buffer);
141 static GstFlowReturn cb_chain_func_video (GstPad *pad, GstBuffer *buffer);
143 bool pushGstBuffer();
144 bool emitEncodedFrames();
152 bool _demux_probe_ended;
154 std::deque<EncodedAudioFrame*> _enc_audio_frames;
155 std::deque<EncodedVideoFrame*> _enc_video_frames;
163 #endif // __MEDIAPARSER_GST_H__
SimpleBuffer data
Definition: LocalConnection_as.cpp:153
DSOEXPORT boost::uint64_t getTicks()
Wall clock timer, returns current POSIX time in milliseconds.
Definition: ClockTime.cpp:61