Skip to content
Snippets Groups Projects
  1. Dec 18, 2014
  2. Dec 16, 2014
  3. Dec 15, 2014
  4. Dec 12, 2014
  5. Dec 09, 2014
    • Aurélien Zanelli's avatar
      v4l2bufferpool: set buffer interlace flags when field is V4L2_FIELD_INTERLACED · a4ce8ef3
      Aurélien Zanelli authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
      If v4l2_buffer.field is V4L2_FIELD_INTERLACED, we set corresponding
      GstVideoBuffer flags depending on the video standard.
      According to V4L2 specification, M/NTSC transmits the bottom field
      first, all other standards the top field first.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=737603
      a4ce8ef3
    • Simon Farnsworth's avatar
      v4l2: Clean up interlace support · 66099945
      Simon Farnsworth authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
      Rather than try and guess interlace support as part of checking supported
      sizes, look for interlace support specifically in its own function.
      
      As a cleanup, use V4L2_FIELD_ANY when probing sizes, which should result in
      the driver doing the right thing.
      
      With my capture setup, this gets me the following sample caps:
      
      For 1080i resolution:
      video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)interleaved, framerate=(fraction){ 25/1, 30/1 }
      
      For 720p resolution:
      video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction){ 50/1, 60/1 }
      
      For 576i/p resolution (both possible at the point of query):
      video/x-raw, format=(string)YUY2, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string){ progressive, interleaved }, framerate=(fraction){ 25/1, 50/1 }
      
      This, in turn, makes 576i work correctly; with the old code,
      the caps would be interlace-mode=progressive for interlaced video.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=726194
      66099945
  6. Dec 07, 2014
  7. Dec 01, 2014
  8. Nov 30, 2014
  9. Nov 25, 2014
  10. Nov 24, 2014
  11. Nov 21, 2014
    • Nicolas Dufresne's avatar
      v4l2: Handle corrupted buffer with empty payload · f8726a5d
      Nicolas Dufresne authored
      This allow skipping buffer flagged with ERROR that has no payload.
      This is typical behaviour when a recovererable error occured during
      capture in the driver, but that no valid data was ever written into that
      buffer. This patch also translate V4L2_BUF_FLAG_ERROR into
      GST_BUFFER_FLAG_CORRUPTED. Hence decoding error produce
      by decoder due to missing frames will now be correctly marked. Finally,
      this fixes a buffer leak when EOS is reached.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=740040
      f8726a5d
  12. Nov 20, 2014
  13. Nov 15, 2014
  14. Nov 12, 2014
  15. Nov 07, 2014
  16. Nov 06, 2014
Loading