After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 362290 - [patch] Ports examples/cp.py to 0.10
[patch] Ports examples/cp.py to 0.10
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-15 04:36 UTC by Jason Gerard DeRose
Modified: 2006-10-20 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[patch] Ports examples/cp.py to 0.10 (1.51 KB, patch)
2006-10-15 04:38 UTC, Jason Gerard DeRose
none Details | Review
[patch] Ports examples/cp.py to 0.10 (1.54 KB, patch)
2006-10-16 15:03 UTC, Jason Gerard DeRose
committed Details | Review

Description Jason Gerard DeRose 2006-10-15 04:36:57 UTC
This patch is my rendition of porting examples/cp.py to gstreamer0.10.  In my opinion, this example should be removed.  Especially as the 'statistics' element has been depreciated, its not a very interesting example these days.  However, if it is to remain, it should at least work.

And now my quest to cleanup gst-python/examples is complete!  Well, depending upon whether these patches are accepted.  ;)

Thanks!
Comment 1 Jason Gerard DeRose 2006-10-15 04:38:07 UTC
Created attachment 74742 [details] [review]
[patch] Ports examples/cp.py to 0.10
Comment 2 Jason Gerard DeRose 2006-10-16 15:03:59 UTC
Created attachment 74817 [details] [review]
[patch] Ports examples/cp.py to 0.10

Oops... just realized that I forgot to call gobject.threads_init() in all these patches.  Wasn't causing any problems, so I didn't notice.  Fixed here.
Comment 3 Edward Hervey 2006-10-20 09:29:23 UTC
2006-10-20  Edward Hervey  <edward@fluendo.com>

	* examples/audioconcat.py:
	* examples/cp.py:
	Port to 0.10 by Jason Gerard DeRose <jderose@jasonderose.org>
	Closes #362290 and #362272
	* examples/bps.py:
	Indentation fixes by Jason Gerard DeRose <jderose@jasonderose.org>
	Closes #362011
	Also small fix for Usage string