mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
Updated for removed methods.
Original commit message from CVS: Updated for removed methods.
This commit is contained in:
parent
5b436ccbe1
commit
9fcb8430cd
7 changed files with 2 additions and 7 deletions
|
@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline)
|
|||
|
||||
/* and an video sink */
|
||||
videosink = gst_elementfactory_make("xvideosink", "play_video");
|
||||
//videosink = gst_elementfactory_make("aasink", "play_video");
|
||||
g_assert(videosink != NULL);
|
||||
|
||||
autoplug = gst_autoplugfactory_make ("staticrender");
|
||||
|
|
|
@ -36,8 +36,6 @@ int main(int argc,char *argv[])
|
|||
osssink = gst_elementfactory_make("osssink", "play_audio");
|
||||
g_assert(osssink != NULL);
|
||||
|
||||
gst_bin_use_cothreads (GST_BIN (bin), TRUE);
|
||||
|
||||
/* add objects to the main pipeline */
|
||||
gst_bin_add(GST_BIN(bin), disksrc);
|
||||
gst_bin_add(GST_BIN(bin), parse);
|
||||
|
|
|
@ -189,7 +189,6 @@ void mp2tomp1(GstElement *parser,GstPad *pad, GstElement *pipeline) {
|
|||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode));
|
||||
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
|
||||
|
||||
// set up pad connections
|
||||
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),
|
||||
|
|
|
@ -173,7 +173,6 @@ mp2tomp1 (GstElement *parser, GstPad *pad, GstElement *pipeline)
|
|||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode));
|
||||
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
|
||||
|
||||
// set up pad connections
|
||||
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),
|
||||
|
|
|
@ -141,7 +141,6 @@ void mpeg2parse_newpad(GstElement *parser,GstPad *pad, GstElement *pipeline) {
|
|||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(decode_video));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(merge_subtitles));
|
||||
gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(show));
|
||||
gst_bin_use_cothreads(GST_BIN(video_thread), FALSE);
|
||||
|
||||
// set up pad connections
|
||||
gst_element_add_ghost_pad(GST_ELEMENT(video_thread),
|
||||
|
|
|
@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline)
|
|||
|
||||
/* and an video sink */
|
||||
videosink = gst_elementfactory_make("xvideosink", "play_video");
|
||||
//videosink = gst_elementfactory_make("aasink", "play_video");
|
||||
g_assert(videosink != NULL);
|
||||
|
||||
autoplug = gst_autoplugfactory_make ("staticrender");
|
||||
|
|
|
@ -36,8 +36,6 @@ int main(int argc,char *argv[])
|
|||
osssink = gst_elementfactory_make("osssink", "play_audio");
|
||||
g_assert(osssink != NULL);
|
||||
|
||||
gst_bin_use_cothreads (GST_BIN (bin), TRUE);
|
||||
|
||||
/* add objects to the main pipeline */
|
||||
gst_bin_add(GST_BIN(bin), disksrc);
|
||||
gst_bin_add(GST_BIN(bin), parse);
|
||||
|
|
Loading…
Reference in a new issue