1. 21 Jan, 2008 1 commit
    • Brian Cameron's avatar
      configure.ac: Detect video4linux headers on Solaris too. · a973a4f1
      Brian Cameron authored
      Original commit message from CVS:
      * configure.ac:
      Detect video4linux headers on Solaris too.
      * sys/v4l2/gstv4l2colorbalance.h:
      * sys/v4l2/gstv4l2object.h:
      * sys/v4l2/v4l2_calls.c:
      * sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
      (gst_v4l2_buffer_new):
      Make v4l2 build on Solaris.
      Patch by: Brian Cameron  <brian.cameron at sun dot com>
      Fixes: #510505
      a973a4f1
  2. 11 Dec, 2007 1 commit
    • Tim-Philipp Müller's avatar
      sys/v4l2/: Init some structs to zero before we pass them to ioctl, which... · 8d0960ec
      Tim-Philipp Müller authored
      sys/v4l2/: Init some structs to zero before we pass them to ioctl, which avoids valgrind warnings.  Also fix a small ...
      
      Original commit message from CVS:
      * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
      * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list):
      Init some structs to zero before we pass them to ioctl, which
      avoids valgrind warnings.  Also fix a small memory leak.
      8d0960ec
  3. 04 Sep, 2007 1 commit
    • Wim Taymans's avatar
      sys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also... · b4e5796a
      Wim Taymans authored
      sys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute the expected GStreamer output siz...
      
      Original commit message from CVS:
      * sys/v4l2/gstv4l2src.c: (gst_v4l2_get_caps_info),
      (gst_v4l2src_set_caps), (gst_v4l2src_get_mmap):
      Restructure the setcaps function so that we can also compute the
      expected GStreamer output size of the video frames.
      Set frame_byte_size correctly so that read-based devices have a chance
      of working correctly.
      When grabbing a frame, discard frames that are not of the expected size.
      Some cameras don't output the right framesize for the first buffer.
      Try only a couple of times to get a valid frame, else error out.
      * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
      (gst_v4l2_fill_lists), (gst_v4l2_get_input):
      Add some more debug info when scanning the device.
      * sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_new),
      (gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
      (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame),
      (gst_v4l2src_set_capture), (gst_v4l2src_capture_init):
      Add some more debug info when dequeing a frame.
      b4e5796a
  4. 10 Mar, 2007 1 commit
  5. 22 Feb, 2007 1 commit
  6. 01 Nov, 2006 1 commit
  7. 17 Oct, 2006 2 commits
  8. 28 Sep, 2006 1 commit
    • Wim Taymans's avatar
      sys/v4l2/: Framerate can be 0/1 too. · 210e3a8e
      Wim Taymans authored
      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.
      210e3a8e
  9. 27 Sep, 2006 3 commits
    • Wim Taymans's avatar
      sys/v4l2/: Renamed some properties to match the tuner interface naming. · d8769c7d
      Wim Taymans authored
      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.
      d8769c7d
    • Wim Taymans's avatar
      Small cleanups. · a9bc7aed
      Wim Taymans authored
      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.
      a9bc7aed
    • Edgard Gusmão Lima's avatar
      Some cleanups and comments. · eea3a2d9
      Edgard Gusmão Lima authored
      Original commit message from CVS:
      Some cleanups and comments.
      eea3a2d9
  10. 26 Sep, 2006 1 commit
    • Wim Taymans's avatar
      sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow... · d9db447d
      Wim Taymans authored
      sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal 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.
      d9db447d
  11. 15 Sep, 2006 1 commit
  12. 02 Sep, 2006 1 commit
    • Stefan Kost's avatar
      sys/v4l2/: Cleanup error messages and unify header comments · 074e7b0d
      Stefan Kost authored
      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
      074e7b0d
  13. 28 Aug, 2006 1 commit
  14. 11 May, 2006 1 commit
  15. 05 May, 2006 1 commit
  16. 01 May, 2006 1 commit
  17. 25 Mar, 2006 1 commit
  18. 11 Mar, 2006 1 commit
  19. 06 Dec, 2005 1 commit
  20. 24 Oct, 2004 1 commit
    • Ronald S. Bultje's avatar
      sys/v4l2/gstv4l2element.c: Flag typo. · a241ae07
      Ronald S. Bultje authored
      Original commit message from CVS:
      * sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property):
      Flag typo.
      * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults):
      No warnings.
      a241ae07
  21. 31 May, 2004 1 commit
    • Stéphane Loeuillet's avatar
      gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make... · 51dffab8
      Stéphane Loeuillet authored
      gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency...
      
      Original commit message from CVS:
      * gst-libs/gst/tuner/tunerchannel.h:
      - add a freq_multiplicator field to make the conversion
      between internal frequency unit and Hz
      * sys/v4l/gstv4lelement.c:
      * sys/v4l2/gstv4l2element.c:
      - change default video device to /dev/video0
      * sys/v4l/v4l_calls.c:
      * sys/v4l2/v4l2_calls.c:
      - we only expose frequency to the user in Hz instead of
      bastard v4lX unit (either 62.5kHz or 62.5Hz)
      51dffab8
  22. 15 Mar, 2004 1 commit
  23. 14 Mar, 2004 1 commit
  24. 02 Feb, 2004 1 commit
  25. 29 Jan, 2004 1 commit
  26. 19 Jan, 2004 2 commits
  27. 12 Jan, 2004 1 commit
    • Benjamin Otte's avatar
      sys/v4l2/: add norm, channel and frequency properties. · 409384e0
      Benjamin Otte authored
      Original commit message from CVS:
      2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init),
      (gst_v4l2element_dispose), (gst_v4l2element_set_property),
      (gst_v4l2element_get_property):
      * sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open):
      add norm, channel and frequency properties.
      * sys/v4l2/gstv4l2tuner.c:
      fixes for tuner interface changes
      * sys/v4l2/gstv4l2element.h:
      * sys/v4l2/gstv4l2src.c:
      * sys/v4l2/gstv4l2src.h:
      * sys/v4l2/v4l2src_calls.c:
      * sys/v4l2/v4l2src_calls.h:
      rework v4l2src to work with saa1734 cards and allow mmaped buffers.
      409384e0
  28. 10 Nov, 2003 1 commit
  29. 26 Oct, 2003 1 commit
  30. 10 Oct, 2003 1 commit
    • Ronald S. Bultje's avatar
      Some interface implementations for video4linux/video4linux2 plugins: a Tuner... · 862d28a1
      Ronald S. Bultje authored
      Some interface implementations for video4linux/video4linux2 plugins: a Tuner interface, with which one can select inp...
      
      Original commit message from CVS:
      Some interface implementations for video4linux/video4linux2 plugins:
      * a Tuner interface, with which one can select inputs and stations. Audio
      work is underway here, but unfinished.
      * A Xoverlay interface with which one can do simple overlay. Similar to
      the API of the v4l/Xv XFree86 extension. Widget implementation for
      GTK-2.0 coming up in the sandbox.
      * Colorbalance - for adapting colors (brightness, contrast, etc.) - pretty
      basic and maybe somewhat overdesigned. But it'll do for now.
      
      Apart from these interfaces, there's also a loadable library 'xwindowlistener'
      that listenes to X for the movement of a window and the overlap of other
      windows. This is partly copied from xawtv (and thus partly GPL :(), but it's
      needed for the xoverlay interface implementation in the v4l/v4l2 elements.
      
      Lastly, some small changes to remove redundant properties from the v4l/v4l2
      elements since these can be done much simpler. Comments appreciated!
      862d28a1
  31. 03 Jul, 2003 1 commit
  32. 29 Jun, 2003 1 commit
    • Benjamin Otte's avatar
      compatibility fix for new GST_DEBUG stuff. · 90da904f
      Benjamin Otte authored
      Original commit message from CVS:
      compatibility fix for new GST_DEBUG stuff.
      Includes fixes for missing includes for config.h and unistd.h
      
      I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
      90da904f
  33. 02 Mar, 2003 1 commit
  34. 13 Nov, 2002 1 commit
  35. 26 Oct, 2002 1 commit
  36. 24 Oct, 2002 1 commit