summaryrefslogtreecommitdiffstats
path: root/sys/v4l2
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of leaks shown by the newly-added states test.Jan Schmidt2007-03-043-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/flac/gstflacenc.c: (gst_flac_enc_finalize): * ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose), (gst_gconf_audio_sink_finalize): * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_base_init), (gst_gconf_audio_src_class_init), (gst_gconf_audio_src_dispose), (gst_gconf_audio_src_finalize), (do_toggle_element): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init), (gst_gconf_video_sink_class_init), (gst_gconf_video_sink_finalize), (do_toggle_element): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_base_init), (gst_gconf_video_src_class_init), (gst_gconf_video_src_dispose), (gst_gconf_video_src_finalize), (do_toggle_element): * ext/gconf/gstswitchsink.c: (gst_switch_sink_class_init), (gst_switch_sink_reset), (gst_switch_sink_set_child): * ext/hal/gsthalaudiosink.c: (gst_hal_audio_sink_base_init): * ext/hal/gsthalaudiosrc.c: (gst_hal_audio_src_base_init): * ext/shout2/gstshout2.c: (gst_shout2send_class_init), (gst_shout2send_init), (gst_shout2send_finalize): * gst/debug/testplugin.c: (gst_test_class_init), (gst_test_finalize): * gst/flx/gstflxdec.c: (gst_flxdec_class_init), (gst_flxdec_dispose): * gst/multipart/multipartmux.c: (gst_multipart_mux_finalize): * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_finalize): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize): * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_free_context): * gst/rtsp/rtspextwms.h: * gst/smpte/gstsmpte.c: (gst_smpte_class_init), (gst_smpte_finalize): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_finalize): * gst/udp/gstudpsink.c: (gst_udpsink_class_init), (gst_udpsink_finalize): * gst/wavparse/gstwavparse.c: (gst_wavparse_dispose), (gst_wavparse_sink_activate): * sys/oss/gstosssink.c: (gst_oss_sink_finalise): * sys/oss/gstosssrc.c: (gst_oss_src_class_init), (gst_oss_src_finalize): * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_destroy): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_finalize): * sys/ximage/gstximagesrc.c: (gst_ximage_src_ximage_get): Fix a bunch of leaks shown by the newly-added states test.
* Fix segfault when oppening a radio device.Edgard Lima2007-02-223-25/+33
| | | | | Original commit message from CVS: Fix segfault when oppening a radio device.
* Fix level for multi-channel case.Stefan Kost2007-02-221-0/+4
| | | | | | | | | Original commit message from CVS: * gst/level/gstlevel.c: (gst_level_set_caps), (gst_level_transform_ip): * sys/v4l2/README: * tests/check/elements/level.c: (GST_START_TEST): Fix level for multi-channel case.
* sys/v4l2/v4l2src_calls.c: Readd GST_ELEMENT_ERROR if we can't reenque ↵Stefan Kost2007-02-191-3/+10
| | | | | | | | | | | buffers after EIO, fixes #407369 Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init): Readd GST_ELEMENT_ERROR if we can't reenque buffers after EIO, fixes #407369
* sys/v4l2/: More FIXME comments and messaging changes.Stefan Kost2007-02-121-0/+10
| | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2src_get_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init): More FIXME comments and messaging changes.
* sys/v4l2/: Fix EIO handing when capturing. Add new property to specify the ↵Stefan Kost2007-01-174-65/+64
| | | | | | | | | | | | | | | | | | | | number of buffers to enque (and remove the... Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper), (gst_v4l2_object_set_property_helper), (gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_init), (gst_v4l2src_set_property), (gst_v4l2src_get_property), (gst_v4l2src_set_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_deinit): Fix EIO handing when capturing. Add new property to specify the number of buffers to enque (and remove the borked num-buffers usage).
* sys/v4l2/v4l2src_calls.c: cleanup the error message a bit moreStefan Kost2006-11-301-19/+32
| | | | | | | | | Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame), (gst_v4l2src_get_capture), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_buffer_finalize): cleanup the error message a bit more
* sys/v4l2/v4l2src_calls.c: Add missing curly brackets.Tim-Philipp Müller2006-11-181-2/+3
| | | | | | Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_deinit): Add missing curly brackets.
* Fix capture_deinit.Edgard Lima2006-11-171-8/+16
| | | | | Original commit message from CVS: Fix capture_deinit.
* sys/v4l2/v4l2src_calls.c: we do not translate debug messagesStefan Kost2006-11-101-2/+2
| | | | | | Original commit message from CVS: * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_grab_frame): we do not translate debug messages
* Improved comments in ELEMENT_ERROR/WARNING and added "#if 0" to xoverlay ↵Edgard Lima2006-11-015-72/+94
| | | | | | | code that is still not implemented. Original commit message from CVS: Improved comments in ELEMENT_ERROR/WARNING and added "#if 0" to xoverlay code that is still not implemented.
* sys/v4l2/gstv4l2tuner.*: Fix _set_channel(): remove useless ↵Fredrik Persson2006-10-182-15/+4
| | | | | | | | | | | | g_object_notify() for "channel" property that doesn't exi... Original commit message from CVS: Patch by: Fredrik Persson <frepe at broadband net> * sys/v4l2/gstv4l2tuner.c: * sys/v4l2/gstv4l2tuner.h: Fix _set_channel(): remove useless g_object_notify() for "channel" property that doesn't exist any longer and therefore now also useless redirect (#338818).
* sys/v4l2/: dear stefan, framespersecond is not frameperiod, reverting but ↵Stefan Kost2006-10-172-11/+13
| | | | | | | | | | | adding comment Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_fps), (gst_v4l2src_get_fps): dear stefan, framespersecond is not frameperiod, reverting but adding comment
* sys/v4l2/: Numerator is numerator and denominator is denominator. Say that ↵Stefan Kost2006-10-172-14/+14
| | | | | | | | | | | aloud 5 times and retry after next beer. Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_fps), (gst_v4l2src_get_fps): Numerator is numerator and denominator is denominator. Say that aloud 5 times and retry after next beer.
* sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36.Jan Schmidt2006-10-092-25/+22
| | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2xoverlay.c: * sys/v4l2/gstv4l2xoverlay.h: Fix build as per the patch in #338818 comment 36.
* comment out the notifies for removed propertiesThomas Vander Stichele2006-10-031-0/+6
| | | | | Original commit message from CVS: comment out the notifies for removed properties
* sys/v4l2/gstv4l2object.c: comment out the properties that are already part ↵Thomas Vander Stichele2006-10-031-0/+3
| | | | | | | | | | of the tuner interface. Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper): comment out the properties that are already part of the tuner interface.
* sys/v4l2/gstv4l2src.c: Improve docs.Zaheer Abbas Merali2006-10-031-8/+3
| | | | | | | | Original commit message from CVS: 2006-10-03 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/v4l2/gstv4l2src.c: Improve docs.
* sys/v4l2/: Framerate can be 0/1 too.Wim Taymans2006-09-282-2/+11
| | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_all_caps), (gst_v4l2src_get_caps): * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): Framerate can be 0/1 too. Init framerate to 0/1 before querying it so that we can detect devices that don't know about a framerate. Add some more debugging info.
* Removed set-undef-fps.Edgard Lima2006-09-272-34/+1
| | | | | Original commit message from CVS: Removed set-undef-fps.
* sys/v4l2/: Renamed some properties to match the tuner interface naming.Wim Taymans2006-09-276-64/+64
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new), (gst_v4l2_object_set_property_helper), (gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_create): * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel), (gst_v4l2_tuner_list_channels), (gst_v4l2_tuner_set_channel_and_notify), (gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm), (gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify), (gst_v4l2_tuner_get_norm): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_empty_lists): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps): Renamed some properties to match the tuner interface naming.
* Small cleanups.Wim Taymans2006-09-275-52/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_create): * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm), (gst_v4l2_get_frequency), (gst_v4l2_set_frequency), (gst_v4l2_signal_strength), (gst_v4l2_get_attribute), (gst_v4l2_set_attribute), (gst_v4l2_get_input), (gst_v4l2_set_input): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_get_capture), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop), (gst_v4l2src_buffer_new): * tests/icles/v4l2src-test.c: (my_bus_callback), (main): Small cleanups. Fix error messages. Use locks when getting timestamps. Fix leaks in test. Add licensing header to tests.
* Some cleanups and comments.Edgard Lima2006-09-276-217/+125
| | | | | Original commit message from CVS: Some cleanups and comments.
* docs/plugins/: Add v4l2 plugin to the docs.Wim Taymans2006-09-263-8/+15
| | | | | | | | | | | | | | Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: Add v4l2 plugin to the docs. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_get_mmap), (gst_v4l2src_create): * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2vidorient.c: Fix docs. Remove some more externs.
* sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.Wim Taymans2006-09-2612-208/+156
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/v4l2/Makefile.am: Fix makefile, list libs in stack order. * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2colorbalance.h: * sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type), (gst_v4l2_object_install_properties_helper): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_get_mmap), (gst_v4l2src_create): * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2tuner.h: * sys/v4l2/gstv4l2vidorient.h: * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.h: Fix coding style: - Remove extern from functions. - Fix header indentation. Fix Flags, add defaults for properties. Remove unused enums. Fix TOO_LAZY in error messages.
* sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal ↵Wim Taymans2006-09-265-353/+510
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flow for additional code clarity. Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices), (gst_v4l2_probe_needs_probe), (gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new), (gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper), (gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults), (gst_v4l2_object_start), (gst_v4l2_object_stop): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_init), (gst_v4l2src_dispose), (gst_v4l2src_set_property), (gst_v4l2src_get_property), (gst_v4l2src_fixate), (gst_v4l2src_get_caps), (gst_v4l2src_set_caps), (gst_v4l2src_get_read), (gst_v4l2src_get_mmap), (gst_v4l2src_create): * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_frequency), (gst_v4l2_set_frequency), (gst_v4l2_signal_strength), (gst_v4l2_get_attribute), (gst_v4l2_set_attribute), (gst_v4l2_get_input), (gst_v4l2_set_input): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame), (gst_v4l2src_get_capture), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit), (gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps), (gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize), (gst_v4l2src_buffer_new): Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.
* Add Video Orientation interface support to v4l2src.Edgard Lima2006-09-194-3/+239
| | | | | Original commit message from CVS: Add Video Orientation interface support to v4l2src.
* Fix GST_BUFFER_DURATION.Edgard Lima2006-09-181-1/+1
| | | | | Original commit message from CVS: Fix GST_BUFFER_DURATION.
* The test application and the plgind error messages has been improved.Edgard Lima2006-09-155-198/+139
| | | | | Original commit message from CVS: The test application and the plgind error messages has been improved.
* sys/v4l2/: Whitespace cleanups, dashify property-names.Stefan Kost2006-09-025-10/+9
| | | | | | | | | | | Original commit message from CVS: * sys/v4l2/gstv4l2.c: * sys/v4l2/gstv4l2colorbalance.c: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper): * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init): * sys/v4l2/gstv4l2src.h: Whitespace cleanups, dashify property-names.
* sys/v4l2/: Cleanup error messages and unify header commentsStefan Kost2006-09-0215-46/+66
| | | | | | | | | | | | | | | | | | | | | | 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
* Another small fix to set_caps function.Edgard Lima2006-08-301-6/+2
| | | | | Original commit message from CVS: Another small fix to set_caps function.
* Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.Edgard Lima2006-08-301-0/+1
| | | | | Original commit message from CVS: Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
* A small fix to set_caps function.Edgard Lima2006-08-301-2/+1
| | | | | Original commit message from CVS: A small fix to set_caps function.
* Fixed framerate negotiation.Edgard Lima2006-08-293-14/+106
| | | | | Original commit message from CVS: Fixed framerate negotiation.
* sys/v4l2/v4l2_calls.c: add comments and more debug loggingStefan Kost2006-08-281-4/+16
| | | | | | Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): add comments and more debug logging
* Fix set_caps to set width and height to the values the driver is really ↵Edgard Lima2006-08-243-12/+44
| | | | | | | working with. Original commit message from CVS: Fix set_caps to set width and height to the values the driver is really working with.
* Fixed query size to work with drivers that uses intermediate step like ↵Edgard Lima2006-08-222-4/+4
| | | | | | | "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.
* sys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is ↵Martin Szulecki2006-07-191-1/+5
| | | | | | | | | | | not open, try to temporarily open it to obt... Original commit message from CVS: Patch by: Martin Szulecki * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_get_property_helper): If "device-name" is requested and the device is not open, try to temporarily open it to obtain this information (#342494).
* gst/spectrum/: added another exampleStefan Kost2006-05-261-1/+1
| | | | | | | | | | | Original commit message from CVS: * gst/spectrum/Makefile.am: * gst/spectrum/demo-audiotest.c: (on_frequency_changed), (spectrum_chain), (main): * gst/spectrum/demo-osssrc.c: added another example * sys/v4l2/gstv4l2src.c: fix typo
* I forget to add sys/v4l2/gstv4l2xoverlay.c in las commitEdgard Lima2006-05-191-1/+1
| | | | | Original commit message from CVS: I forget to add sys/v4l2/gstv4l2xoverlay.c in las commit
* Some clean-ups requested by wingo in bug #338818.Edgard Lima2006-05-194-26/+26
| | | | | Original commit message from CVS: Some clean-ups requested by wingo in bug #338818.
* configure.ac: Check for X11Stefan Kost2006-05-186-29/+42
| | | | | | | | | | | | | Original commit message from CVS: * configure.ac: Check for X11 * sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_iface_supported): * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open): * sys/v4l2/gstv4l2xoverlay.h: Code cleanups, fix debug macros
* Changes proposed by Wingo in bug #338818.Edgard Lima2006-05-1118-1385/+1548
| | | | | Original commit message from CVS: Changes proposed by Wingo in bug #338818.
* Fix fourcc name printed out. Patch from Martin Rubli.Martin Rubli2006-05-082-6/+8
| | | | | Original commit message from CVS: Fix fourcc name printed out. Patch from Martin Rubli.
* Some changes proposed by wingo in bug #338818 (but not everything yet). ↵Martin Rubli2006-05-0510-177/+271
| | | | | | | Patch from Martin Rubli to fix framerate dete... Original commit message from CVS: Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate detection.
* Fix get_caps func to work when no framerate is available and the caps isn't ↵Edgard Lima2006-05-021-5/+3
| | | | | | | simple. Original commit message from CVS: Fix get_caps func to work when no framerate is available and the caps isn't simple.
* Few improvements to move to good.Edgard Lima2006-05-014-77/+72
| | | | | Original commit message from CVS: Few improvements to move to good.
* Define GstElementDetails as const and also static (when defined as global)Stefan Kost2006-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: * ext/amrwb/gstamrwbenc.c: * ext/amrwb/gstamrwbparse.c: * ext/arts/gst_arts.c: * ext/artsd/gstartsdsink.c: * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/audioresample/gstaudioresample.c: * ext/bz2/gstbz2dec.c: * ext/bz2/gstbz2enc.c: * ext/cdaudio/gstcdaudio.c: * ext/directfb/dfbvideosink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): * ext/faac/gstfaac.c: (gst_faac_base_init): * ext/faad/gstfaad.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/libfame/gstlibfame.c: * ext/libmms/gstmms.c: (gst_mms_base_init): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): * ext/nas/nassink.c: (gst_nassink_base_init): * ext/neon/gstneonhttpsrc.c: * ext/sdl/sdlaudiosink.c: * ext/sdl/sdlvideosink.c: * ext/shout/gstshout.c: * ext/snapshot/gstsnapshot.c: * ext/sndfile/gstsf.c: * ext/swfdec/gstswfdec.c: * ext/tarkin/gsttarkindec.c: * ext/tarkin/gsttarkinenc.c: * ext/theora/theoradec.c: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): * gst/chart/gstchart.c: * gst/colorspace/gstcolorspace.c: * gst/deinterlace/gstdeinterlace.c: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): * gst/festival/gstfestival.c: * gst/filter/gstbpwsinc.c: * gst/filter/gstiir.c: * gst/filter/gstlpwsinc.c: * gst/freeze/gstfreeze.c: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/mpeg1sys/gstmpeg1systemencode.c: * gst/mpeg1videoparse/gstmp1videoparse.c: * gst/mpeg2sub/gstmpeg2subt.c: * gst/mpegaudioparse/gstmpegaudioparse.c: * gst/multifilesink/gstmultifilesink.c: * gst/overlay/gstoverlay.c: * gst/passthrough/gstpassthrough.c: * gst/playondemand/gstplayondemand.c: * gst/qtdemux/qtdemux.c: * gst/rtjpeg/gstrtjpegdec.c: * gst/rtjpeg/gstrtjpegenc.c: * gst/smooth/gstsmooth.c: * gst/smoothwave/gstsmoothwave.c: * gst/spectrum/gstspectrum.c: * gst/speed/gstspeed.c: * gst/stereo/gststereo.c: * gst/switch/gstswitch.c: * gst/tta/gstttadec.c: (gst_tta_dec_base_init): * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): * gst/vbidec/gstvbidec.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/virtualdub/gstxsharpen.c: * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): * gst/y4m/gsty4mencode.c: * sys/cdrom/gstcdplayer.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: * sys/glsink/glimagesink.c: * sys/qcam/gstqcamsrc.c: * sys/v4l2/gstv4l2src.c: * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init): * sys/ximagesrc/ximagesrc.c: Define GstElementDetails as const and also static (when defined as global)
* Added a couple of ifdefs to make it compile with other kernels.Edgard Lima2006-04-201-4/+13
| | | | | Original commit message from CVS: Added a couple of ifdefs to make it compile with other kernels.