Skip to content
  • Tim-Philipp Müller's avatar
    gst/matroska/matroska-mux.c: The "signed" field in audio caps is of boolean... · 7735292e
    Tim-Philipp Müller authored
    gst/matroska/matroska-mux.c: The "signed" field in audio caps is of boolean type, trying to use gst_structure_get_int...
    
    Original commit message from CVS:
    * gst/matroska/matroska-mux.c:
    (gst_matroska_mux_audio_pad_setcaps):
    The "signed" field in audio caps is of boolean type, trying to use
    gst_structure_get_int() to extract it will fail. Fixing this makes
    matroskamux accept raw audio input (#387121) (use at your own risk
    though, due to the matroska spec being not entirely useful in this
    respect).
    Also fix up raw audio structures in template caps so that they
    represent what our setcaps function will actually accept, so that
    converters know what to convert to.
    Finally, don't fail if there isn't an "endianness" field in 8-bit
    PCM caps.
    7735292e