~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty

« back to all changes in this revision

Viewing changes to tests/examples/manual/fakesrc.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-09-14 09:04:41 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120914090441-1ul912ezvm3xfael
Tags: 0.11.94-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.
  + debian/control.in:
    - Build-depend on gtk-doc >= 1.12.
  + debian/patches/0001-netclientclock-simplify-by-using-g_socket_condition_.patch:
    - Dropped, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  pipeline = gst_pipeline_new ("pipeline");
37
37
  fakesrc = gst_element_factory_make ("fakesrc", "source");
38
38
  flt = gst_element_factory_make ("capsfilter", "flt");
39
 
  conv = gst_element_factory_make ("ffmpegcolorspace", "conv");
 
39
  conv = gst_element_factory_make ("videoconvert", "conv");
40
40
  videosink = gst_element_factory_make ("xvimagesink", "videosink");
41
41
 
42
42
  /* setup */
43
43
  g_object_set (G_OBJECT (flt), "caps",
44
 
                gst_caps_new_simple ("video/x-raw-rgb",
 
44
                gst_caps_new_simple ("video/x-raw",
 
45
                                     "format", G_TYPE_STRING, "RGB16",
45
46
                                     "width", G_TYPE_INT, 384,
46
47
                                     "height", G_TYPE_INT, 288,
47
48
                                     "framerate", GST_TYPE_FRACTION, 1, 1,
48
 
                                     "bpp", G_TYPE_INT, 16,
49
 
                                     "depth", G_TYPE_INT, 16,
50
 
                                     "endianness", G_TYPE_INT, G_BYTE_ORDER,
51
49
                                     NULL), NULL);
52
50
  gst_bin_add_many (GST_BIN (pipeline), fakesrc, flt, conv, videosink, NULL);
53
51
  gst_element_link_many (fakesrc, flt, conv, videosink, NULL);