Added an API for element construction and renderer autopluggers.
Original commit message from CVS:
Added an API for element construction and renderer autopluggers.
Added another autoplugger to render things.
Updated the player to use the new autoplugger.
Original commit message from CVS:
Merge with the main trunk.
GstPlay needed some changes for the dynamic pads in the avidecoder since
the new autoplugger doesn't know about the outher elements. The next
version of the autoplugger will also handle the audfio/videosink connections
and will do a complete end-to-end autoplugging.
Original commit message from CVS:
Implemented the plugable autopluggers.
- one can aad an autoplugger to a plugin with gst_plugin_add_autoplugger
- the autopluggers can be queried using _get_list
- save/load autoplugger descriptions in the XML registry
- load the autoplugger only when needed
- a signal can be attached to the autoplugger to be notified of
new objects.
- improved the media player to use the new autoplugger
- updated gstreamer-inspect for the autoplugger and types
added EOS to the disksrc
fixed two bugs in properties loading (min/max, comment tags)
Original commit message from CVS:
Updated the autoplugger:
- moved all of the code out of gstpipeline.c to autoplug.c
- The autoplugger now creates a GstElement based on the given src and
sink caps. The API now is:
GstElement* gst_autoplug_caps_list (GList *srcpad, GList *sinkpad, ...);
- the typefind function is moved from gstpipeline.c to gstplay.c. Not sure
if this is right behaviour but we need at least a bin in order to run
the typedetect functions.
- fixed a bug in gstbin.c where the MANAGER flag of the bin was not cleared
when going to the NULL state.
- a bug in the videosink was fixed. It was possible that more instances
of the video widget were created, causing major errors.
- commented out most of the 'old' autoplug examples.
- added the new autoplugger to gstplay.c. There still is a bit of hacking
needed to insert a queue into the autogenerated element. This will be fixed
when the autoplugger can also create the video/audio elements.
Fixed some more extranous spaces problems in various files.