summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2015-04-22 12:14:15 +0200
committerJohns <johns98@gmx.net>2015-04-22 12:14:15 +0200
commite0f4a99b99532d195ad40a161b633d39bcba4725 (patch)
tree501f6af32ba8e076e73f91db01dc514660345ea4 /softhddev.c
parenta1939eb6cb94ed22d402e8935f3cec294b2af39d (diff)
downloadvdr-plugin-softhddevice-e0f4a99b99532d195ad40a161b633d39bcba4725.tar.gz
vdr-plugin-softhddevice-e0f4a99b99532d195ad40a161b633d39bcba4725.tar.bz2
Workaround for ffmpeg 2.6 artifacts.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/softhddev.c b/softhddev.c
index 5afe3b5..a44f020 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -1,7 +1,7 @@
///
/// @file softhddev.c @brief A software HD device plugin for VDR.
///
-/// Copyright (c) 2011 - 2014 by Johns. All Rights Reserved.
+/// Copyright (c) 2011 - 2015 by Johns. All Rights Reserved.
///
/// Contributor(s):
///
@@ -2905,6 +2905,7 @@ const char *CommandLineHelp(void)
"\talsa-no-close-open\tdisable close open to fix alsa no sound bug\n"
"\talsa-close-open-delay\tenable close open delay to fix no sound bug\n"
"\tignore-repeat-pict\tdisable repeat pict message\n"
+ "\tuse-possible-defect-frames prefer faster channel switch\n"
" -D\t\tstart in detached mode\n";
}
@@ -2986,6 +2987,8 @@ int ProcessArgs(int argc, char *const argv[])
AudioAlsaCloseOpenDelay = 1;
} else if (!strcasecmp("ignore-repeat-pict", optarg)) {
VideoIgnoreRepeatPict = 1;
+ } else if (!strcasecmp("use-possible-defect-frames", optarg)) {
+ CodecUsePossibleDefectFrames = 1;
} else {
fprintf(stderr, _("Workaround '%s' unsupported\n"),
optarg);