Browse Source

fix(build): make qTox compile with ffmpeg 4.0 and newer

reviewable/pr5099/r1
sudden6 7 years ago
parent
commit
441931765f
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 4
      src/video/camerasource.cpp

4
src/video/camerasource.cpp

@ -109,7 +109,11 @@ CameraSource::CameraSource() @@ -109,7 +109,11 @@ CameraSource::CameraSource()
moveToThread(deviceThread);
subscriptions = 0;
// TODO(sudden6): remove code when minimum ffmpeg version >= 4.0
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
avdevice_register_all();
}

Loading…
Cancel
Save