1. 09 Sep, 2019 3 commits
  2. 06 Sep, 2019 3 commits
  3. 02 Sep, 2019 2 commits
  4. 30 Aug, 2019 4 commits
    • Mathieu Duponchelle's avatar
      3bc5d3d3
    • Mathieu Duponchelle's avatar
      rtspsrc: clip output segment on accurate seeks · 37eca8a1
      Mathieu Duponchelle authored
      The output segment is only used in ONVIF mode.
      
      The previous behaviour was to output a segment computed from
      the Range response sent by the server.
      
      In ONVIF mode, servers will start serving from the appropriate
      synchronization point (keyframe), and the Range in response will
      start at that position.
      
      This means rtspsrc can now perform truly accurate seeks in that
      mode, by clipping the output segment to the values requested in
      the seek. The decoder will then discard out of segment buffers
      and playback will start without artefacts at the exact requested
      position, similar to the behaviour of a demuxer when an accurate
      seek is requested.
      37eca8a1
    • Matthew Waters's avatar
      vpx: fix macos werror build · 00171154
      Matthew Waters authored
      ../ext/vpx/gstvpxenc.c:1723:49: error: format specifies type 'long' but the argument has type 'vpx_codec_pts_t' (aka 'long long') [-Werror,-Wformat]
                ", gst frame pts: %" G_GINT64_FORMAT, pkt->data.frame.pts, pts);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:1065:96: note: expanded from macro 'GST_TRACE_OBJECT'
      #define GST_TRACE_OBJECT(obj,...)       GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_TRACE,   obj,  __VA_ARGS__)
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:646:31: note: expanded from macro 'GST_CAT_LEVEL_LOG'
              (GObject *) (object), __VA_ARGS__);                             \
                                    ^~~~~~~~~~~
      ../ext/vpx/gstvpxenc.c:1723:70: error: format specifies type 'long' but the argument has type 'vpx_codec_pts_t' (aka 'long long') [-Werror,-Wformat]
                ", gst frame pts: %" G_GINT64_FORMAT, pkt->data.frame.pts, pts);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:1065:96: note: expanded from macro 'GST_TRACE_OBJECT'
      #define GST_TRACE_OBJECT(obj,...)       GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_TRACE,   obj,  __VA_ARGS__)
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
      /Library/Frameworks/GStreamer.framework/Versions/1.0/include/gstreamer-1.0/gst/gstinfo.h:646:31: note: expanded from macro 'GST_CAT_LEVEL_LOG'
              (GObject *) (object), __VA_ARGS__);                             \
                                    ^~~~~~~~~~~
      00171154
    • Matthew Waters's avatar
      osxvideosink: call superclass in reshape · b0522aa8
      Matthew Waters authored
      Fixes macos werror build
      
      ../sys/osxvideo/cocoawindow.m:437:1: error: method possibly missing a [super reshape] call [-Werror,-Wobjc-missing-super-calls]
      }
      ^
      b0522aa8
  5. 23 Aug, 2019 2 commits
  6. 21 Aug, 2019 1 commit
  7. 19 Aug, 2019 3 commits
    • Tim-Philipp Müller's avatar
      vpx: bump libvpx requirement to 1.5.0 · 61bd613d
      Tim-Philipp Müller authored
      Was released in Nov 2015.
      61bd613d
    • Tim-Philipp Müller's avatar
      vpx: avoid confusing meson configure output when checking for vpx versions · e40ba718
      Tim-Philipp Müller authored
      Used to print:
      |Run-time dependency vpx found: YES 1.7.0
      |Message: libvpx provides VP8 encoder interface (vpx_codec_vp8_cx_algo)
      |Message: libvpx provides VP8 decoder interface (vpx_codec_vp8_dx_algo)
      |Message: libvpx provides VP9 encoder interface (vpx_codec_vp9_cx_algo)
      |Message: libvpx provides VP9 decoder interface (vpx_codec_vp9_dx_algo)
      |Dependency vpx found: YES (cached)
      |Dependency vpx found: NO found '1.7.0' but need: '>=1.8.0'
      |Run-time dependency vpx found: NO (tried pkgconfig and cmake)
      
      We can check the version of the found dep in a way that
      doesn't produce this confusing output.
      e40ba718
    • Amr Mahdi's avatar
      wavparse: Fix push mode ignoring audio with a size smaller than segment buffer · cbe61c4f
      Amr Mahdi authored
      In push mode (streaming), if the audio size is smaller than segment buffer size, it would be ignored.
      This happens because when the plugin receives an EOS signal while a single audio chunk that is less than the segment buffer size is buffered, it does not
      flush this chunk. The fix is to flush the data chunk when it receives an EOS signal and has a single (first) chunk buffered.
      
      How to reproduce:
      1. Run gst-launch with tcp source
      ```
      gst-launch-1.0  tcpserversrc port=3000 !  wavparse ignore-length=0 ! audioconvert ! filesink location=bug.wav
      ```
      2. Send a wav file with unspecified data chunk length (0). Attached a test file
      ```
      cat test.wav | nc localhost 3000
      ```
      3. Compare the length of the source file and output file
      ```
      ls -l test.wav bug.wav
      -rw-rw-r-- 1 amr amr    0 Aug 15 11:07 bug.wav
      -rwxrwxr-x 1 amr amr 3564 Aug 15 11:06 test.wav
      ```
      
      The expected length of the result of the gst-lauch pipeline should be the same as the test file minus the headers (44), which is ```3564 - 44 = 3520``` but the actual output length is ```0```
      
      After the fix:
      ```
      ls -l test.wav fix.wav
      -rw-rw-r-- 1 amr amr 3520 Aug 15 11:09 fix.wav
      -rwxrwxr-x 1 amr amr 3564 Aug 15 11:06 test.wav
      ```
      cbe61c4f
  8. 12 Aug, 2019 1 commit
  9. 10 Aug, 2019 1 commit
  10. 08 Aug, 2019 1 commit
  11. 07 Aug, 2019 19 commits