Skip to content

Commit

Permalink
[ONEM-33064] Support only hardware decoders
Browse files Browse the repository at this point in the history
Port of Comcast patch
  • Loading branch information
Jacek Skiba authored and jacek-skiba-red committed Oct 31, 2023
1 parent 3ec64b7 commit bb645e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class GStreamerVideoDecoder : public webrtc::VideoDecoder {

static GRefPtr<GstElementFactory> GstDecoderFactory(const char *capsStr)
{
return GStreamerRegistryScanner::singleton().isCodecSupported(GStreamerRegistryScanner::Configuration::Decoding, String::fromUTF8(capsStr), false).factory;
return GStreamerRegistryScanner::singleton().isCodecSupported(GStreamerRegistryScanner::Configuration::Decoding, String::fromUTF8(capsStr), true).factory;
}

bool HasGstDecoder()
Expand Down

0 comments on commit bb645e2

Please sign in to comment.