https://bugs.kde.org/show_bug.cgi?id=374670

--- Comment #11 from rdragonr...@gmail.com ---
Thanks. I managed to make a patch (and the patched program builds and runs!),
unfortunately, it does not work. The problem is that the new patch for AAC
searches this regex:  return ffmpegOutput.contains( QRegExp( "^ .EA....aac" )
);


Meanwhile (I assume it greps ffmpeg -codecs, but I don't know the exact command
it filters output from) my search of the output ffmpeg -codecs | grep aac
gives:

DEA.L. aac                  AAC (Advanced Audio Coding) (decoders: aac
aac_fixed ) (encoders: aac libvo_aacenc )
 D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax).

The format for ffmpeg's output on this is DEV/A/ILS, with dots if one of the
codes is not present. Since my ffmpeg has a decoder too, this breaks the regex.

I have to guess that the regex ONLY works if it matches perfectly, when it only
really needs the A and E (Audio Codec, Encoder Present respectively). How do I
rewrite the regex so that it still filters for AAC and EA, but not the rest
(assuming the dots are searched verbatim and not separators)?

Can you please point me to a guide on how to write QRegexp or tell me what one
to use? Thanks!

The second patch is broken too (the HE-AAC support one), but I am trying to
contact the author...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to