summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* sys/sunaudio/gstsunaudiosrc.*: Remove device-name from GstSunAudioSrc. Fixes ↵Wim Taymans2007-03-022-15/+1
| | | | | | | | | | | #412597. Original commit message from CVS: * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_class_init), (gst_sunaudiosrc_init), (gst_sunaudiosrc_get_property), (gst_sunaudiosrc_open): * sys/sunaudio/gstsunaudiosrc.h: Remove device-name from GstSunAudioSrc. Fixes #412597.
* sys/ximage/gstximagesrc.c: Error out correctly when getting xcontext fails.Zaheer Abbas Merali2007-03-011-0/+7
| | | | | | | | Original commit message from CVS: 2007-03-01 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/ximage/gstximagesrc.c: (gst_ximage_src_open_display): Error out correctly when getting xcontext fails.
* update copyright statementsChristian Schaller2007-02-2710-3/+57
| | | | | Original commit message from CVS: update copyright statements
* update copyright statementChristian Schaller2007-02-275-2/+24
| | | | | Original commit message from CVS: update copyright statement
* sys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. ↵Edward Hervey2007-02-274-149/+2
| | | | | | | | | | | | | | Should only matter if the sink isn't used ... Original commit message from CVS: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Disable the cocoa event loop since it's a huge memory leak. Should only matter if the sink isn't used within an NSApp (which has already got a coca event loop). Remove all unused code.
* 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/directsound/gstdirectsoundsink.*: Remove include of unused headers.Sébastien Moutte2007-02-205-17/+740
| | | | | | | | | | | | | | | Original commit message from CVS: * sys/directsound/gstdirectsoundsink.c: * sys/directsound/gstdirectsoundsink.h: Remove include of unused headers. * sys/waveform/gstwaveformplugin.c: * sys/waveform/gstwaveformsink.c: * sys/waveform/gstwaveformsink.h: * win32/vs6/libgstwaveform.dsp: Add a new waveform plugin which includes an audio sink element using the WaveForm win32 API. * win32/MANIFEST: Add the new project file form waveform plugin.
* 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/directdraw/: Prepare the plugin to move to good:Sébastien Moutte2007-02-186-1020/+635
| | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawplugin.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directdraw/gstdirectdrawsink.h: Prepare the plugin to move to good: Remove unused/untested code (rendering to an extern surface, yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros Rename all functions from gst_directdrawsink to gst_directdraw_sink. Add gtk doc section Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line respecting destination surface stride. * sys/directsound/gstdirectsoundplugin.c: * sys/directsound/gstdirectsoundsink.c: * sys/directsound/gstdirectsoundsink.h: Prepare the plugin to move to good: Rename all functions from gst_directsoundsink to gst_directsound_sink. Add gtk doc section * win32/common/config.h.in: * win32/MANIFEST: Add config.h.in
* 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.
* Makefile.am: Add win32 MANIFESTSébastien Moutte2007-02-112-253/+385
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * Makefile.am: Add win32 MANIFEST * sys/directdraw/gstdirectdrawsink.c: * sys/directdraw/gstdirectdrawsink.h: Clear unused code and add comments. Remove yuv from template caps, it only supports RGB actually. Implement XOverlay interface and remove window and fullscreen properties. Add debug logs. Test for blit capabilities to return only the current colorspace if the hardware can't blit for one colorspace to another. * sys/directsound/gstdirectsoundsink.c: Add some debugs. * win32/MANIFEST: Add VS7 project files and solution. * win32/vs6/gst_plugins_bad.dsw: * win32/vs6/libgstdirectdraw.dsp: * win32/vs6/libgstdirectsound.dsp: * win32/vs6/libgstqtdemux.dsp: Update project files.
* configure.ac: Activate monoscope when building with --enable-experimental. FixStefan Kost2007-02-112-9/+11
| | | | | | | | | | Original commit message from CVS: * configure.ac: Activate monoscope when building with --enable-experimental. Fix --enable-external configure switch description. * sys/sunaudio/gstsunaudiomixer.c: (gst_sunaudiomixer_base_init): * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_dispose): Help gst-indent.
* configure.ac: Check for an Objective C compilerEdward Hervey2007-01-305-0/+1156
| | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: Check for an Objective C compiler * sys/Makefile.am: * sys/osxvideo/Makefile.am: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Port of osxvideo plugin to 0.10. Do NOT consider 100% stable ! Fixes #402470
* Use G_GSIZE_FORMAT in print statements for portability.Edward Hervey2007-01-251-1/+2
| | | | | | | | Original commit message from CVS: * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * sys/ximage/ximageutil.c: (ximageutil_check_xshm_calls): Use G_GSIZE_FORMAT in print statements for portability. Fixes build on macosx.
* 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).
* Add directsoundsink to build and dist it, so it gets built when compiling ↵Vincent Torri2007-01-042-1/+10
| | | | | | | | | | | | | | | | | with MingW on win32 and the required header... Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry fr> * configure.ac: * sys/Makefile.am: * sys/directsound/Makefile.am: * sys/directsound/gstdirectsoundsink.c: (gst_directsoundsink_reset): Add directsoundsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers and libraries are available (fixes: #392638). Also simplify DirectDraw check a bit. * tests/check/elements/.cvsignore: Fix CVS ignore for neonhttpsrc test binary.
* Add directdrawsink to build and dist it, so it gets built when compiling ↵Vincent Torri2007-01-032-7/+19
| | | | | | | | | | | | | | | | | | | with MingW on win32 and the required headers... Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry fr> * configure.ac: * sys/Makefile.am: * sys/directdraw/Makefile.am: Add directdrawsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers and libraries are available (fixes: #392313). * sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_center_rect), (gst_directdrawsink_show_frame), (gst_directdrawsink_setup_ddraw), (gst_directdrawsink_surface_create): Comment out some unused things and fix some printf format issues in order to avoid warnings when buildling with MingW (#392313).
* sys/ximage/gstximagesrc.c: Fix presumably copy'n'pasto for 16bpp depth.Tim-Philipp Müller2006-12-241-1/+1
| | | | | | Original commit message from CVS: * sys/ximage/gstximagesrc.c: (composite_pixel): Fix presumably copy'n'pasto for 16bpp depth.
* sys/sunaudio/gstsunaudiosink.c: Ignore the buffer_time the sound device ↵Jan Schmidt2006-12-111-0/+6
| | | | | | | | | reports. Turns out it is sometimes completely... Original commit message from CVS: * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_prepare): Ignore the buffer_time the sound device reports. Turns out it is sometimes completely bogus and we're better off without it.
* sys/sunaudio/: Use the sunaudio debug category.Jan Schmidt2006-12-094-34/+275
| | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * sys/sunaudio/gstsunaudiomixerctrl.c: * sys/sunaudio/gstsunaudiosrc.c: Use the sunaudio debug category. * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_finalize), (gst_sunaudiosink_class_init), (gst_sunaudiosink_init), (gst_sunaudiosink_set_property), (gst_sunaudiosink_get_property), (gst_sunaudiosink_open), (gst_sunaudiosink_close), (gst_sunaudiosink_prepare), (gst_sunaudio_sink_do_delay), (gst_sunaudiosink_write), (gst_sunaudiosink_delay), (gst_sunaudiosink_reset): * sys/sunaudio/gstsunaudiosink.h: Uses the sunaudio debug category for all debug output Implements the _delay() callback to synchronise video playback better Change the segtotal and segsize values back to the parent class defaults (taken from buffer_time and latency_times of 200ms and 10ms respectively) Measure the samples written to the device vs. played. Keep track of segments in the device by writing empty eof frames, and sleep using a GCond when we get too far ahead and risk overrunning the sink's ringbuffer. Fixes: #360673
* sys/sunaudio/: Implement reset functions to unblock the src/sink more ↵Padraig O'Briain2006-12-082-1/+83
| | | | | | | | | | | | quickly on state change requests. Original commit message from CVS: * sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_reset): * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open), (gst_sunaudiosrc_reset): Implement reset functions to unblock the src/sink more quickly on state change requests. Patch by: Padraig O'Briain <padraig dot obriain at sun dot com>
* sys/sunaudio/gstsunaudiomixer.c: Construct the correct mixer device name ↵Jerry Tan2006-12-081-1/+1
| | | | | | | | | | | | when the AUDIODEV env var is set. Original commit message from CVS: * sys/sunaudio/gstsunaudiomixer.c: (gst_sunaudiomixer_change_state): Construct the correct mixer device name when the AUDIODEV env var is set. Patch by: Jerry Tan <jerry.tan at sun dot com> Fixes: #383596
* sys/sunaudio/gstsunaudiosrc.c: Apply patch to open the mixer control and set ↵Jerry Tan2006-12-081-3/+5
| | | | | | | | | | | | the MULTIPLE_OPEN ioctl. On solaris, the... Original commit message from CVS: * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open): Apply patch to open the mixer control and set the MULTIPLE_OPEN ioctl. On solaris, the mixer device doesn't need opening non-blocking - it can be opened by multiple processes by default, but needs the ioctl for multiple opens within 1 process. Patch by: Jerry Tan <jerry.tan at sun dot com> Fixes: #349015
* 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/: Wait until the window is created before using it; guard unistd.h ↵Sergey Scobich2006-11-013-2/+21
| | | | | | | | | | | | | | | | | includes with HAVE_UNISTD_H. (#366523) Original commit message from CVS: Patch by: Sergey Scobich <sergey dot scobich at gmail com> * sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_window_thread), (gst_directdrawsink_create_default_window): * sys/directdraw/gstdirectdrawsink.h: * sys/directsound/gstdirectsoundsink.c: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523) * win32/vs8/libgstdirectdraw.vcproj: * win32/vs8/libgstdirectsound.vcproj: Update project files.
* 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/oss/gstosssink.c: Some drivers do not support unsetting the non-blocking ↵Wim Taymans2006-10-171-3/+9
| | | | | | | | | | flag once the device is opened. In those... Original commit message from CVS: * sys/oss/gstosssink.c: (gst_oss_sink_prepare): Some drivers do not support unsetting the non-blocking flag once the device is opened. In those cases, close/open the device in non-blocking mode. Fixes #362673.
* 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.
* Fix a bunch of problems discovered by the Forte compiler, mostly type mixups ↵Josep Torra Valles2006-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | and pointer arithmetics with void pointe... Original commit message from CVS: Patch by: Josep Torra Valles <josep at fluendo com> * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform): * ext/esd/esdsink.c: (gst_esdsink_write): * ext/flac/gstflacdec.c: (gst_flac_dec_length), (gst_flac_dec_read_seekable), (gst_flac_dec_chain), (gst_flac_dec_send_newsegment): * ext/flac/gstflacenc.c: (gst_flac_enc_seek_callback), (gst_flac_enc_tell_callback): * ext/jpeg/smokecodec.c: (find_best_size), (smokecodec_encode), (smokecodec_parse_header), (smokecodec_decode): * gst/avi/gstavimux.c: (gst_avi_mux_write_avix_index): * gst/debug/efence.c: (gst_fenced_buffer_alloc): * gst/goom/Makefile.am: * gst/goom/gstgoom.c: * gst/icydemux/gsticydemux.c: (gst_icydemux_typefind_or_forward): * gst/rtsp/gstrtspsrc.c: * gst/rtsp/rtspconnection.c: (rtsp_connection_read): * gst/udp/gstudpsink.c: * gst/udp/gstudpsrc.c: * gst/wavparse/gstwavparse.c: (gst_wavparse_change_state): * sys/sunaudio/gstsunaudiomixertrack.h: Fix a bunch of problems discovered by the Forte compiler, mostly type mixups and pointer arithmetics with void pointers. Fixes #362603.
* 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.
* Printf format fixes.Tim-Philipp Müller2006-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_update_font_height): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/libpng/gstpngdec.c: (user_endrow_callback): * gst/auparse/gstauparse.c: (gst_au_parse_parse_header): * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_data): * gst/cutter/gstcutter.c: (gst_cutter_chain): * gst/debug/efence.c: (gst_efence_buffer_alloc), (gst_fenced_buffer_copy): * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_handle_message): * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): * sys/ximage/ximageutil.c: (ximageutil_xcontext_get): Printf format fixes.
* add build stuff for v4l2, needs --enable-experimental until the last bits ↵Thomas Vander Stichele2006-10-031-7/+7
| | | | | | | | | | are resolved Original commit message from CVS: * configure.ac: * sys/Makefile.am: add build stuff for v4l2, needs --enable-experimental until the last bits are resolved
* 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.