summaryrefslogtreecommitdiffstats
path: root/sys
AgeCommit message (Collapse)AuthorFilesLines
2007-06-08Remove DirectDraw & DirectSound plugins, as they've moved to GoodJan Schmidt9-2755/+2
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: * docs/plugins/gst-plugins-bad-plugins.args: * docs/plugins/inspect/plugin-directdraw.xml: * docs/plugins/inspect/plugin-directsound.xml: * sys/Makefile.am: * sys/directdraw/Makefile.am: * sys/directdraw/gstdirectdrawplugin.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directdraw/gstdirectdrawsink.h: * sys/directsound/Makefile.am: * sys/directsound/gstdirectsoundplugin.c: * sys/directsound/gstdirectsoundsink.c: * sys/directsound/gstdirectsoundsink.h: * win32/MANIFEST: * win32/gst.sln: * win32/vs6/libgstdirectdraw.dsp: * win32/vs6/libgstdirectsound.dsp: * win32/vs7/libgstdirectdraw.vcproj: * win32/vs7/libgstdirectsound.vcproj: * win32/vs8/libgstdirectdraw.vcproj: * win32/vs8/libgstdirectsound.vcproj: Remove DirectDraw & DirectSound plugins, as they've moved to Good
2007-06-08Rename the keep-aspect-ratio property to force-aspect-ratio to make it ↵Jan Schmidt1-2/+3
consistent with xvimagesink and ximagesink. Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins.args: * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_class_init): Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
2007-06-06sys/glsink/glimagesink.c: Sprinkle in some XSync calls to avoid raciness ↵Jan Schmidt1-0/+12
with broken drivers (ATI) when re-using a si... Original commit message from CVS: * sys/glsink/glimagesink.c: (gst_glimage_sink_stop), (gst_glimage_sink_create_window), (gst_glimage_sink_init_display): Sprinkle in some XSync calls to avoid raciness with broken drivers (ATI) when re-using a single glimagesink.
2007-05-24sys/directdraw/gstdirectdrawsink.*: Fix more warnings when compiling with ↵Vincent Torri2-15/+34
MingW (#439914). Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry fr> * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_buffer_alloc), (gst_directdraw_sink_show_frame), (gst_directdraw_sink_check_primary_surface), (gst_directdraw_sink_check_offscreen_surface), (EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps), (gst_directdraw_sink_surface_create): * sys/directdraw/gstdirectdrawsink.h: Fix more warnings when compiling with MingW (#439914).
2007-05-23docs/plugins/gst-plugins-bad-plugins.args: Remove directsoundsink property ↵Sébastien Moutte8-78/+2268
doc as this sink use the mixer interface now. Original commit message from CVS: * docs/plugins/gst-plugins-bad-plugins.args: Remove directsoundsink property doc as this sink use the mixer interface now. * docs/plugins/gst-plugins-bad-plugins.interfaces: Add interfaces implemented by Windows sinks. * sys/directsound/gstdirectsoundsink.c: * sys/directsound/gstdirectsoundsink.h: Remove directsoundsink property and implement the mixer interface. * win32/vs6/gst_plugins_bad.dsw: * win32/vs6/libgstdirectsound.dsp: Update project files. * gst-libs/gst/dshow/gstdshow.cpp: * gst-libs/gst/dshow/gstdshow.h: * gst-libs/gst/dshow/gstdshowfakesink.cpp: * gst-libs/gst/dshow/gstdshowfakesink.h: * gst-libs/gst/dshow/gstdshowfakesrc.cpp: * gst-libs/gst/dshow/gstdshowfakesrc.h: * gst-libs/gst/dshow/gstdshowinterface.cpp: * gst-libs/gst/dshow/gstdshowinterface.h: * win32/common/libgstdshow.def: * win32/vs6/libgstdshow.dsp: Add a new gst library which allow to create internal Direct Show graph (pipelines) to wrap Windows sources, decoders or encoders. It includes a DirectShow fake source and sink and utility functions. * sys/dshowsrcwrapper/gstdshowaudiosrc.c: * sys/dshowsrcwrapper/gstdshowaudiosrc.h: * sys/dshowsrcwrapper/gstdshowsrcwrapper.c: * sys/dshowsrcwrapper/gstdshowsrcwrapper.h: * sys/dshowsrcwrapper/gstdshowvideosrc.c: * sys/dshowsrcwrapper/gstdshowvideosrc.h: * win32/vs6/libdshowsrcwrapper.dsp: Add a new plugin to wrap DirectShow sources on Windows. It gets data from any webcam, dv cam, micro. We could add tv tunner card later.
2007-05-22docs/plugins/Makefile.am: Also look for .m (objectivec) files.Edward Hervey1-0/+37
Original commit message from CVS: * docs/plugins/Makefile.am: Also look for .m (objectivec) files. * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.args: * sys/osxvideo/osxvideosink.m: Add documentation for element and properties.
2007-05-20sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static ↵Tim-Philipp Müller1-59/+58
function that doesn't exist; declare another ... Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_finalize), (gst_directdraw_sink_buffer_alloc), (gst_directdraw_sink_get_ddrawcaps), (gst_directdraw_sink_surface_create): Bunch of small fixes: remove static function that doesn't exist; declare another one that does; printf format fix; use right macro when specifying debug category; remove a bunch of unused variables; #if 0 out an unused chunk of code (partially fixes #439914).
2007-05-18sys/glsink/glimagesink.c: Update the cached caps after opening the display ↵Jan Schmidt1-0/+1
so that we report only the supported caps ... Original commit message from CVS: * sys/glsink/glimagesink.c: (gst_glimage_sink_init_display): Update the cached caps after opening the display so that we report only the supported caps formats, not just the template caps. Fixes: #439405
2007-05-17sys/osxvideo/osxvideosink.*: Remove the event-loop-in-separate-thread ↵Edward Hervey2-8/+1
modifications, because MacOSX is $#@(*%$# ! For... Original commit message from CVS: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Remove the event-loop-in-separate-thread modifications, because MacOSX is $#@(*%$# ! For those wondering, the event handling needs to be done in the main thread after all..
2007-05-17sys/osxvideo/osxvideosink.*: Fix a stupid #if vs #ifdef bug. Should use the ↵Edward Hervey2-3/+19
proper colorspace now. Original commit message from CVS: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Fix a stupid #if vs #ifdef bug. Should use the proper colorspace now. Use a separate thread/task for the cocoa event_loop, else it wouldn't stop.
2007-05-15Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and ↵Tim-Philipp Müller2-4/+4
restore the various flags in the directdraw/dir... Original commit message from CVS: * configure.ac: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/directsound detection section. Apparently improves cross-compiling for win32 with mingw32 under some circumstances (#437539).
2007-04-2980 char policeThomas Vander Stichele2-6/+6
Original commit message from CVS: 80 char police
2007-04-03sys/glsink/glimagesink.c: Fix handling of video/x-raw-yuv. Add overlay ↵David Schleef1-39/+192
handling. Original commit message from CVS: * sys/glsink/glimagesink.c: Fix handling of video/x-raw-yuv. Add overlay handling.
2007-03-16sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView ↵Edward Hervey1-1/+1
in the message. Original commit message from CVS: * sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the message.
2007-03-16sys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in ↵Edward Hervey1-5/+17
embedded mode. The message will contain a po... Original commit message from CVS: * sys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in embedded mode. The message will contain a pointer to the newly created NSView.
2007-03-14sys/osxvideo/: Fix leaks when running a NSApp.Edward Hervey4-55/+225
Original commit message from CVS: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Fix leaks when running a NSApp. Accept any kind of resolutions. Works in fullscreen. Can maximize. Only thing left before being able to move this to -good is documentation and embedded window support.
2007-03-11sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.Sébastien Moutte2-434/+660
Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c: * sys/directdraw/gstdirectdrawsink.h: Handle display mode changes during playback.
2007-02-27update copyright statementsChristian Schaller10-3/+57
Original commit message from CVS: update copyright statements
2007-02-27sys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. ↵Edward Hervey4-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.
2007-02-20sys/directsound/gstdirectsoundsink.*: Remove include of unused headers.Sébastien Moutte5-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.
2007-02-18sys/directdraw/: Prepare the plugin to move to good:Sébastien Moutte6-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
2007-02-11Makefile.am: Add win32 MANIFESTSébastien Moutte2-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.
2007-01-30configure.ac: Check for an Objective C compilerEdward Hervey6-2/+1164
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
2007-01-04Add directsoundsink to build and dist it, so it gets built when compiling ↵Vincent Torri3-3/+18
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.
2007-01-03Add directdrawsink to build and dist it, so it gets built when compiling ↵Vincent Torri3-9/+27
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).
2006-11-24remove obsolete _factory_init protos and functionsStefan Kost3-6/+3
Original commit message from CVS: * ext/audiofile/gstafsink.c: * ext/polyp/plugin.c: (plugin_init): * ext/polyp/polypsink.c: * ext/polyp/polypsink.h: * sys/dxr3/dxr3audiosink.h: * sys/dxr3/dxr3spusink.h: * sys/dxr3/dxr3videosink.h: remove obsolete _factory_init protos and functions
2006-11-17sys/dvb/gstdvbsrc.c: Actually set the TONE parameter for DVB-S when we should.Zaheer Abbas Merali1-5/+1
Original commit message from CVS: 2006-11-17 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune): Actually set the TONE parameter for DVB-S when we should.
2006-11-14sys/dvb/gstdvbsrc.*: Fix minor printf format issue; remove overly paranoid ↵Tim-Philipp Müller2-16/+7
checks in create function; fix GObject boi... Original commit message from CVS: * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_create): * sys/dvb/gstdvbsrc.h: Fix minor printf format issue; remove overly paranoid checks in create function; fix GObject boilerplate macros.
2006-11-09sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)Zaheer Abbas Merali1-3/+10
Original commit message from CVS: 2006-11-09 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property) (gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats), (gst_dvbsrc_tune), (gst_dvbsrc_set_pes_filters): Rename set_pes_filter to set_pes_filters for consistency. Do run-time pid filtering.
2006-11-08sys/dvb/gstdvbsrc.c: Do not call output_frontend_stats from a method that ↵Zaheer Abbas Merali1-2/+0
does not have the gstdvbsrc object. Original commit message from CVS: 2006-11-08 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (read_device): Do not call output_frontend_stats from a method that does not have the gstdvbsrc object. This fixes the build, sorry guys!
2006-11-07sys/dvb/gstdvbsrc.*: Force PAT to always be in the filter.Zaheer Abbas Merali2-22/+41
Original commit message from CVS: 2006-11-07 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (read_device), (gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats), (gst_dvbsrc_tune), (gst_dvbsrc_set_pes_filter): * sys/dvb/gstdvbsrc.h: Force PAT to always be in the filter. Try to continue reading after failing 10 times.
2006-11-04po/POTFILES.in: add dvbsrcThomas Vander Stichele2-78/+93
Original commit message from CVS: * po/POTFILES.in: add dvbsrc * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_class_init), (gst_dvbsrc_init), (gst_dvbsrc_set_property), (gst_dvbsrc_get_property), (gst_dvbsrc_open_frontend), (gst_dvbsrc_open_dvr), (gst_dvbsrc_finalize), (read_device), (gst_dvbsrc_create), (gst_dvbsrc_start), (gst_dvbsrc_frontend_status), (gst_dvbsrc_tune), (gst_dvbsrc_unset_pes_filters), (gst_dvbsrc_set_pes_filter): * sys/dvb/gstdvbsrc.h: adapter-prefix is a terrible name for a device, so replace it. strerror should be used immediately after the syscall related to it. Actually throw a reasonable GST_ELEMENT_ERROR if we fail to open (pretty easy to trigger by opening the same device twice). Use _OBJECT macros where it makes sense. This element is going to need some work before it moves.
2006-11-01sys/: Wait until the window is created before using it; guard unistd.h ↵Sergey Scobich3-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.
2006-10-10gst/qtdemux/qtdemux.c: Printf format fixes.Tim-Philipp Müller1-1/+1
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc), (gst_qtdemux_loop_state_header): Printf format fixes. * sys/dvb/gstdvbsrc.c: Use "_stdint.h".
2006-10-10sys/dvb/: Remove these files, not needed use system files.Zaheer Abbas Merali11-1072/+7
Original commit message from CVS: 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/Makefile.am: * sys/dvb/dvb-api/Makefile.am: * sys/dvb/dvb-api/audio.h: * sys/dvb/dvb-api/ca.h: * sys/dvb/dvb-api/dmx.h: * sys/dvb/dvb-api/frontend.h: * sys/dvb/dvb-api/net.h: * sys/dvb/dvb-api/osd.h: * sys/dvb/dvb-api/version.h: * sys/dvb/dvb-api/video.h: Remove these files, not needed use system files. * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property), (gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats), (gst_dvbsrc_tune): Fix warnings, uint16_t etc. is in stdint.h. Use system includes not our local ones.
2006-10-10Add dvb detection and allow dvbsrc to be built.Zaheer Abbas Merali1-1/+7
Original commit message from CVS: 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: * sys/Makefile.am: Add dvb detection and allow dvbsrc to be built.
2006-10-10Initial import of dvbsrc.Zaheer Abbas Merali15-1/+2399
Original commit message from CVS: 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org> * configure.ac: * sys/Makefile.am: * sys/dvb/AUTHORS: * sys/dvb/Makefile.am: * sys/dvb/README: * sys/dvb/dvb-api/Makefile.am: * sys/dvb/dvb-api/audio.h: * sys/dvb/dvb-api/ca.h: * sys/dvb/dvb-api/dmx.h: * sys/dvb/dvb-api/frontend.h: * sys/dvb/dvb-api/net.h: * sys/dvb/dvb-api/osd.h: * sys/dvb/dvb-api/version.h: * sys/dvb/dvb-api/video.h: * sys/dvb/gstdvbsrc.c: * sys/dvb/gstdvbsrc.h: Initial import of dvbsrc. Currently won't be built.
2006-10-04Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.Tim-Philipp Müller1-2/+0
Original commit message from CVS: * po/POTFILES.in: * sys/v4l2/.cvsignore: Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.
2006-10-03moved to gst-plugins-goodThomas Vander Stichele20-5142/+3
Original commit message from CVS: * configure.ac: * sys/Makefile.am: * sys/v4l2/Makefile.am: * sys/v4l2/README: * 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/gstv4l2vidorient.c: * sys/v4l2/gstv4l2vidorient.h: * sys/v4l2/gstv4l2xoverlay.c: * sys/v4l2/gstv4l2xoverlay.h: * sys/v4l2/v4l2_calls.c: * sys/v4l2/v4l2_calls.h: * sys/v4l2/v4l2src_calls.c: * sys/v4l2/v4l2src_calls.h: moved to gst-plugins-good
2006-10-03comment out the notifies for removed propertiesThomas Vander Stichele1-0/+6
Original commit message from CVS: comment out the notifies for removed properties
2006-10-03sys/v4l2/gstv4l2object.c: comment out the properties that are already part ↵Thomas Vander Stichele1-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.
2006-10-03sys/v4l2/gstv4l2src.c: Improve docs.Zaheer Abbas Merali1-8/+3
Original commit message from CVS: 2006-10-03 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/v4l2/gstv4l2src.c: Improve docs.
2006-09-28sys/v4l2/: Framerate can be 0/1 too.Wim Taymans2-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.
2006-09-27Removed set-undef-fps.Edgard Lima2-34/+1
Original commit message from CVS: Removed set-undef-fps.
2006-09-27sys/v4l2/: Renamed some properties to match the tuner interface naming.Wim Taymans6-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.
2006-09-27Small cleanups.Wim Taymans5-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.
2006-09-27Some cleanups and comments.Edgard Lima6-217/+125
Original commit message from CVS: Some cleanups and comments.
2006-09-26docs/plugins/: Add v4l2 plugin to the docs.Wim Taymans3-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.
2006-09-26sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.Wim Taymans12-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.
2006-09-26sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal ↵Wim Taymans5-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.