[gstreamer-bugs] [Bug 539108] gst_ghost_pad_new() does more than call g_object_new()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 6 21:17:36 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=539108

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #16 from José Alburquerque  2008-10-07 04:17 UTC -------
That was fast.  Thanks. :-)  The following two test cases, however, show a
difference in functionality.  In test case #1, using the patch I submitted,
gst_ghost_pad_construct() returns false, signaling failed creation, while in
test case #2 using the most recent changes you checked in,
gst_ghost_pad_construct() returns true, signaling a successful creation.  Test
case #3 uses GStreamer API to accomplish the same as test case #1 and test case
#2, but failing as in test case #1 (and unlike test case #2).  Below is the
output for test case #1, #2 and #3.  Please re-open and investigate.  Thanks.

Test Case #1:
-------------

[11:14][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ g++
`pkg-config --cflags --libs gstreamer-0.10` test-ghost-pad-01.c 
[11:16][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ ./a.out
Successfully created pad 'pad'; direction = 2.
Could not create ghost pad.

Test Case #2:
-------------

[11:49][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ g++
`pkg-config --cflags --libs gstreamer-0.10` test-ghost-pad-02.c 
[11:49][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ ./a.out 
Successfully created pad 'pad'; direction = 2.
Successfully created ghost pad 'gpad'; direction = 2.

Test Case #3:
-------------

[12:10][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ g++
`pkg-config --cflags --libs gstreamer-0.10` test-ghost-pad-03.c 
[12:11][jose at sweety:~/Projects/Programming/C++/Tests/gstreamermm]$ ./a.out
Successfully created pad 'pad'; direction = 2.
Could not create ghost pad.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=539108.




More information about the Gstreamer-bugs mailing list