summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-09-02sys/v4l2/: Cleanup error messages and unify header commentsStefan Kost16-46/+87
Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2colorbalance.h: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2tuner.c: * sys/v4l2/gstv4l2tuner.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_open): * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame), (gst_v4l2src_capture_init): * sys/v4l2/v4l2src_calls.h: Cleanup error messages and unify header comments
2006-08-31gst/nsf/Makefile.am: Add missing GST_LIBSJan Schmidt2-1/+6
Original commit message from CVS: * gst/nsf/Makefile.am: Add missing GST_LIBS
2006-08-30Another small fix to set_caps function.Edgard Lima2-6/+7
Original commit message from CVS: Another small fix to set_caps function.
2006-08-30Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.Edgard Lima2-0/+6
Original commit message from CVS: Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
2006-08-30A small fix to set_caps function.Edgard Lima2-2/+6
Original commit message from CVS: A small fix to set_caps function.
2006-08-30gst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.Edward Hervey2-1/+13
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_do_seek): Reset each streams last_flow to GST_FLOW_OK. (gst_qtdemux_activate_segment): Removing mystic modifications for good.
2006-08-30gst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was ↵Stefan Kost2-2/+9
mystically reverted by the last commit Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (qtdemux_parse_tree): put back 'segment start<=stop' change that was mystically reverted by the last commit
2006-08-30gst/qtdemux/qtdemux.c: Fix the build for disabled debugStefan Kost2-1/+10
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (qtdemux_parse_tree): Fix the build for disabled debug
2006-08-29Fixed framerate negotiation.Edgard Lima4-14/+113
Original commit message from CVS: Fixed framerate negotiation.
2006-08-29ext/sdl/: Only de-init the subsystem we previously initialised. Avoids ↵Andrew Andkjar3-3/+14
borkage when both sdlvideosink and sdlaudiosin... Original commit message from CVS: Patch by: Andrew Andkjar <enki at goodship net> * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_close): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported), (gst_sdlvideosink_deinitsdl): Only de-init the subsystem we previously initialised. Avoids borkage when both sdlvideosink and sdlaudiosink are used at the same time and one is shut down.
2006-08-28gst/qtdemux/qtdemux.c: Make sure segment start<=stop in weird quicktime files.Wim Taymans2-1/+8
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment), (gst_qtdemux_add_stream), (qtdemux_parse_trak), (qtdemux_video_caps): Make sure segment start<=stop in weird quicktime files.
2006-08-28sys/v4l2/v4l2_calls.c: add comments and more debug loggingStefan Kost2-4/+21
Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): add comments and more debug logging
2006-08-24ext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on ↵Sebastian Dröge3-4/+50
bus (#344472). Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain): Post audio codec and average bitrate tags on bus (#344472). * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init), (gst_wavpack_parse_src_query): Forward queries in other formats (BYTE format in particular) upstream; add Sebastian to authors.
2006-08-24Fix set_caps to set width and height to the values the driver is really ↵Edgard Lima4-12/+53
working with. Original commit message from CVS: Fix set_caps to set width and height to the values the driver is really working with.
2006-08-23ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on ↵Tim-Philipp Müller6-7/+21
correction pad as well (#352476). Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block): Fix mem leak, send newsegment event on correction pad as well (#352476). * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): Restore original author (on Sebastian's request). * tests/check/Makefile.am: * tests/check/gst-plugins-bad.supp: Add (so far empty) suppression file for -bad. Remove wavpackenc test from VALGRIND_TO_FIX now that the leak is fixed.
2006-08-23tests/check/: Add unit tests for wavpack elements (#352476).Sebastian Dröge6-1/+752
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/wavpackdec.c: (setup_wavpackdec), (cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main): * tests/check/elements/wavpackenc.c: (setup_wavpackenc), (cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad), (setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST), (wavpackparse_suite), (main): Add unit tests for wavpack elements (#352476).
2006-08-23Add docs for wavpack elements (#352476).Sebastian Dröge12-6/+127
Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/inspect/plugin-wavpack.xml: * ext/wavpack/gstwavpackdec.c: * ext/wavpack/gstwavpackdec.h: * ext/wavpack/gstwavpackenc.c: * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: * ext/wavpack/gstwavpackparse.h: Add docs for wavpack elements (#352476).
2006-08-22Fixed query size to work with drivers that uses intermediate step like ↵Edgard Lima3-4/+11
"width * height" to find closest size. Original commit message from CVS: Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
2006-08-21move gdp plugin to good.Thomas Vander Stichele14-2480/+17
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * gst/gdp/Makefile.am: * gst/gdp/gstgdp.c: * gst/gdp/gstgdpdepay.c: * gst/gdp/gstgdpdepay.h: * gst/gdp/gstgdppay.c: * gst/gdp/gstgdppay.h: * tests/check/Makefile.am: * tests/check/elements/gdpdepay.c: * tests/check/elements/gdppay.c: move gdp plugin to good.
2006-08-21gst/qtdemux/qtdemux.c: Some more constification.Wim Taymans2-33/+106
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_node_dump_foreach), (qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps): Some more constification. Fix some paletted data formats again. Fix ulaw/alaw in qt. Set correct caps for raw RGB. Add support for yuv2, which is like Yuv2. Add support for raw audio with the NONE fourcc, which is like raw.
2006-08-21ext/gsm/gstgsm.c: Make rank PRIMARY now that GSM seems to work fine.Wim Taymans2-1/+7
Original commit message from CVS: * ext/gsm/gstgsm.c: (plugin_init): Make rank PRIMARY now that GSM seems to work fine.
2006-08-21ext/wavpack/: More clean-ups: use shorter variable names to make code easier ↵Tim-Philipp Müller4-289/+299
to read; prefix structures we define wit... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init), (gst_wavpack_enc_finalize), (gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_format_samples), (gst_wavpack_enc_push_block), (gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block), (gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state), (gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property): * ext/wavpack/gstwavpackenc.h: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset), (gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event), (gst_wavpack_parse_init), (gst_wavpack_parse_get_upstream_length), (gst_wavpack_parse_loop): More clean-ups: use shorter variable names to make code easier to read; prefix structures we define with 'Gst' to make it clearer where they come from.
2006-08-21ext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps ↵Tim-Philipp Müller2-172/+89
(output is framed) and make them match (#35166... Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_push_block), (gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block), (gst_wavpack_enc_sink_event): Fix caps set on buffers and template caps (output is framed) and make them match (#351663); use GST_WARNING_OBJECT instead of GST_ELEMENT_WARNING; simplify push_block(); do some small clean-ups here and there; fix memleak (#351663).
2006-08-20gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_sizeStefan Kost1-1/+1
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_get_unit_size), (set_structure_widths): Lower debug, use g_assert in _get_unit_size * gst/audioresample/gstaudioresample.c: (audioresample_get_unit_size): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_unit_size): * gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size): use g_assert in _get_unit_size
2006-08-18ext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping ↵Sebastian Dröge2-28/+112
re-syncing at embedded zeroes; skip garbage be... Original commit message from CVS: Based on patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_sink_event), (gst_wavpack_parse_get_upstream_length), (gst_wavpack_parse_find_marker), (gst_wavpack_parse_resync_loop), (gst_wavpack_parse_loop), (gst_wavpack_parse_resync_adapter): Fix resyncing in push mode not stopping re-syncing at embedded zeroes; skip garbage between frames in pull mode as well if necessary; use gst_pad_query_peer_duration(); push EOS and NEWSEGMENT event in right direction (#351659).
2006-08-16ext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.Andy Wingo1-12/+57
Original commit message from CVS: Patch by: Andy Wingo <wingo at pobox dot com> * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setup), (gst_signal_processor_start), (gst_signal_processor_stop), (gst_signal_processor_cleanup), (gst_signal_processor_setcaps), (gst_signal_processor_pen_buffer), (gst_signal_processor_flush), (gst_signal_processor_do_pulls), (gst_signal_processor_do_pushes), (gst_signal_processor_change_state): Make ladspa elements reusable. Fixes #350006.
2006-08-16ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters ↵Wim Taymans1-1/+4
in the padtemplate names as possible. Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init): Convert ' ' into '_'. Try to keep as many characters in the padtemplate names as possible.
2006-08-16ext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we ↵Wim Taymans1-4/+6
should not use the buffer on the pen anymore. Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_flush), (gst_signal_processor_do_pushes): A push() gives away our refcount so we should not use the buffer on the pen anymore.
2006-08-16ext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost ↵Sebastian Dröge3-7/+51
(#351557). Also use hyphens instead of und... Original commit message from CVS: Patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_resync_adapter), (gst_wavpack_parse_chain): In push mode, re-sync to next wavpack header if sync is lost (#351557). Also use hyphens instead of underscores in GObject property names.
2006-08-15ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not ↵Sebastian Dröge3-50/+208
seekable yet though); some small clean-u... Original commit message from CVS: * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_class_init), (gst_wavpack_parse_reset), (gst_wavpack_parse_get_src_query_types), (gst_wavpack_parse_src_query), (gst_wavpack_parse_handle_seek_event), (gst_wavpack_parse_sink_event), (gst_wavpack_parse_init), (gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop), (gst_wavpack_parse_chain), (gst_wavpack_parse_sink_activate), (gst_wavpack_parse_sink_activate_pull): * ext/wavpack/gstwavpackparse.h: Patch by: Sebastian Dröge <slomo at circular-chaos.org> Make wavpackparse also work in push-mode (not seekable yet though); some small clean-ups along the way; add support for SEEKING query and query types function. (#351495).
2006-08-15Fix leaks (#351502).Tim-Philipp Müller3-2/+8
Original commit message from CVS: * ext/libfame/gstlibfame.c: (gst_fameenc_get_property): * sys/glsink/glimagesink.c: (gst_glimage_sink_get_property): Fix leaks (#351502).
2006-08-14gst/qtdemux/qtdemux.c: Extract all references/redirections if there is more ↵Tim-Philipp Müller2-10/+129
than one and sort them; also extract mini... Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_redirects_sort_func), (qtdemux_process_redirects), (qtdemux_parse_tree): Extract all references/redirections if there is more than one and sort them; also extract minimum required bitrate information if available. (#350399)
2006-08-10ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not ↵Michal Benes2-2/+10
total bitrate (#350741). Original commit message from CVS: Patch by: Michal Benes <michal.benes at itonis tv> * ext/faac/gstfaac.c: (gst_faac_configure_source_pad): Bitrate in the faac structure is per output channel, not total bitrate (#350741).
2006-08-09ext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * ext/xvid/gstxvidenc.c: (gst_xvidenc_chain): Fix GST_ELEMENT_ERROR usage.
2006-08-09fixed up and cleaned up the -bad spec file to have proper tests for whats ↵Christian Schaller1-27/+17
installed and items put in correct categories. Original commit message from CVS: fixed up and cleaned up the -bad spec file to have proper tests for whats installed and items put in correct categories.
2006-08-08gst/qtdemux/qtdemux.c: Fix silly typo.Tim-Philipp Müller2-1/+6
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (qtdemux_parse_tree): Fix silly typo.
2006-08-08tests/check/elements/gdpdepay.c: I forgot to include the file containing the ↵Edward Hervey2-0/+7
#define :) Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): I forgot to include the file containing the #define :) Now includes "config.h"
2006-08-08tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See ↵Edward Hervey2-1/+10
#348114. Original commit message from CVS: * tests/check/elements/gdpdepay.c: (gdpdepay_suite): Ignore test known to fail on PPC64. See #348114.
2006-08-04Allow HTTP redirect (HTTP status code 302).Edgard Lima3-24/+175
Original commit message from CVS: Allow HTTP redirect (HTTP status code 302).
2006-08-04gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.Zaheer Abbas Merali2-15/+16
Original commit message from CVS: 2006-08-04 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain): Fix event parsing by gdpdepay. Fixes #349916.
2006-08-04ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a ↵Andy Wingo3-37/+161
processor can work in place or not, and for... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor can work in place or not, and for keeping track of its state. Change the FlowReturn instance variable from "state" to "flow_state", all callers changed. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setup) (gst_signal_processor_start, gst_signal_processor_stop) (gst_signal_processor_cleanup): New functions to manage the processor's state. (gst_signal_processor_setcaps): start() as well as setup() here. (gst_signal_processor_prepare): Respect CAN_PROCESS_IN_PLACE. (gst_signal_processor_change_state): Stop and cleanup the processor as we go to NULL. * ext/ladspa/gstladspa.c (gst_ladspa_base_init): Reuse buffers if INPLACE_BROKEN is not set. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_prepare): Do the alloc_buffer in bytes, not frames.
2006-08-04BPBAndy Wingo1-1/+1
Original commit message from CVS: (gst_signal_processor_src_activate_pull): BPB
2006-08-04ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) ↵Andy Wingo1-74/+127
(gst_signal_processor_prepare) (gst_signal_processor_u... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) (gst_signal_processor_prepare) (gst_signal_processor_update_inputs) (gst_signal_processor_process, gst_signal_processor_pen_buffer) (gst_signal_processor_flush) (gst_signal_processor_sink_activate_push) (gst_signal_processor_src_activate_pull) (gst_signal_processor_change_state): Remove the last of the code that assumes that we process whole buffers at a time. Fix some debugging. Seems to work now in some cases.
2006-08-03ext/Makefile.am: Use right variables when USE_SPC is defined.cascardo at holoscopio dot com2-2/+9
Original commit message from CVS: Patch by: cascardo at holoscopio dot com * ext/Makefile.am: Use right variables when USE_SPC is defined.
2006-08-02gst/gdp/gstgdpdepay.c: Disable seeking.Wim Taymans4-198/+404
Original commit message from CVS: * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init), (gst_gdp_depay_finalize), (gst_gdp_depay_sink_event), (gst_gdp_depay_src_event), (gst_gdp_depay_chain), (gst_gdp_depay_change_state): Disable seeking. Small cleanups. Clear adapter on disconts. Clear caps when going to READY instead of NULL * gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init), (gst_gdp_pay_init), (gst_gdp_pay_finalize), (gst_gdp_pay_reset), (gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader), (gst_gdp_queue_buffer), (gst_gdp_pay_chain), (gst_gdp_pay_sink_event), (gst_gdp_pay_src_event), (gst_gdp_pay_change_state): * gst/gdp/gstgdppay.h: Reset payloader when going to READY. Fix leaked buffers in ->queue on push errors. Disable seeking. Code cleanups. Create packetizer in _init, free in _finalize.
2006-07-31ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix ↵Andy Wingo1-2/+11
nframes-choosing. Original commit message from CVS: 2006-08-01 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix nframes-choosing. (gst_signal_processor_init): Init pending_in and pending_out.
2006-07-31ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default ↵Andy Wingo2-36/+71
sample rate, although we never check tha... Original commit message from CVS: 2006-08-01 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default sample rate, although we never check that the sample rate actually gets set. Something for the future. (gst_signal_processor_setcaps): Some refcount fixes, flow fixes. (gst_signal_processor_event): Refcount fixen. (gst_signal_processor_process): Pull the number of frames to process from the sizes of the buffers in the input pens. (gst_signal_processor_pen_buffer): Remove an incorrect FIXME :) (gst_signal_processor_do_pulls): Add an nframes argument, and use it instead of buffer_frames. (gst_signal_processor_getrange): Refcount fixen, pass nframes on to do_pulls. (gst_signal_processor_chain) (gst_signal_processor_sink_activate_push) (gst_signal_processor_src_activate_pull): Refcount fixen. * ext/ladspa/gstsignalprocessor.h: No more buffer_frames, yay.
2006-07-31ext/ladspa/gstsignalprocessor.c: don't query buffer-frames from caps, add ↵Stefan Kost1-12/+7
lots of debug-log, try fix for assert (#349... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps), (gst_signal_processor_process): don't query buffer-frames from caps, add lots of debug-log, try fix for assert (#349189)
2006-07-31ext/directfb/dfbvideosink.c: Post an error message.Julien Moutte2-0/+7
Original commit message from CVS: 2006-07-31 Julien MOUTTE <julien@moutte.net> * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), (gst_dfbvideosink_buffer_alloc): Post an error message.
2006-07-31ext/directfb/dfbvideosink.c: Don't try allocating if we are not setup yet. ↵Julien Moutte2-1/+17
Fail changing state if setup fails. Original commit message from CVS: 2006-07-31 Julien MOUTTE <julien@moutte.net> * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state), (gst_dfbvideosink_buffer_alloc): Don't try allocating if we are not setup yet. Fail changing state if setup fails.