ffmpeg: Add valid values of AVDiscard

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7364>
This commit is contained in:
Kevin Wang 2024-09-09 13:42:57 -04:00
parent 2024287a39
commit ab0a985c46
2 changed files with 188 additions and 126 deletions

View file

@ -83,7 +83,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -173,7 +173,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -403,7 +403,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -1988,7 +1988,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -2292,7 +2292,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -2942,7 +2942,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -3032,7 +3032,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -3739,7 +3739,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -4425,7 +4425,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -4813,7 +4813,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -4903,7 +4903,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -4993,7 +4993,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -5277,7 +5277,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -5379,7 +5379,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -5559,7 +5559,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -6027,7 +6027,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -6508,7 +6508,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -7056,7 +7056,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -8323,7 +8323,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -8439,7 +8439,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -8775,7 +8775,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -8865,7 +8865,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -8955,7 +8955,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -9045,7 +9045,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -9239,7 +9239,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -9751,7 +9751,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -9925,7 +9925,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10015,7 +10015,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10105,7 +10105,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10195,7 +10195,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10299,7 +10299,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10415,7 +10415,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -10998,7 +10998,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -11244,7 +11244,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -11750,7 +11750,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -11840,7 +11840,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -11930,7 +11930,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12020,7 +12020,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12166,7 +12166,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12360,7 +12360,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12732,7 +12732,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12836,7 +12836,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -12938,7 +12938,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -13394,7 +13394,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -13538,7 +13538,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -13640,7 +13640,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -13730,7 +13730,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -13848,7 +13848,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -14412,7 +14412,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -14528,7 +14528,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -14644,7 +14644,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -14926,7 +14926,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15016,7 +15016,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15106,7 +15106,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15286,7 +15286,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15376,7 +15376,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15466,7 +15466,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15556,7 +15556,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -15660,7 +15660,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -16392,7 +16392,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -16626,7 +16626,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -16890,7 +16890,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -16980,7 +16980,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -17153,7 +17153,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -17333,7 +17333,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -17423,7 +17423,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -17939,7 +17939,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -18041,7 +18041,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -18145,7 +18145,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -18627,7 +18627,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -18717,7 +18717,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -18807,7 +18807,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19279,7 +19279,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19369,7 +19369,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19549,7 +19549,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19639,7 +19639,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19743,7 +19743,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -19859,7 +19859,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -20405,7 +20405,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -20992,7 +20992,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21318,7 +21318,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21408,7 +21408,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21588,7 +21588,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21678,7 +21678,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21768,7 +21768,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -21886,7 +21886,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -22350,7 +22350,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -22570,7 +22570,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -22660,7 +22660,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -22868,7 +22868,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -23104,7 +23104,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -23516,7 +23516,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -23696,7 +23696,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -23814,7 +23814,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -23904,7 +23904,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24008,7 +24008,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24226,7 +24226,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24316,7 +24316,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24420,7 +24420,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24522,7 +24522,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24716,7 +24716,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24832,7 +24832,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -24934,7 +24934,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25398,7 +25398,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25488,7 +25488,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25578,7 +25578,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25758,7 +25758,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25904,7 +25904,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -25994,7 +25994,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -26354,7 +26354,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -26976,7 +26976,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "Skip nothing (0)",
"default": "default (0)",
"mutable": "null",
"readable": true,
"type": "GstLibAVVidDecSkipFrame",
@ -141041,24 +141041,34 @@
"kind": "enum",
"values": [
{
"desc": "0",
"name": "Skip nothing",
"desc": "Discard useless packets like 0 size packets in avi",
"name": "default",
"value": "0"
},
{
"desc": "1",
"name": "Skip B-frames",
"value": "1"
"desc": "Discard all non reference",
"name": "non-ref",
"value": "8"
},
{
"desc": "2",
"name": "Skip IDCT/Dequantization",
"value": "2"
"desc": "Discard all bidirectional frames",
"name": "bidir",
"value": "16"
},
{
"desc": "5",
"name": "Skip everything",
"value": "5"
"desc": "Discard all non intra frames",
"name": "non-intra",
"value": "24"
},
{
"desc": "Discard all frames except keyframes",
"name": "non-key",
"value": "32"
},
{
"desc": "Discard all",
"name": "all",
"value": "48"
}
]
},

View file

@ -131,6 +131,49 @@ gst_ffmpegviddec_lowres_get_type (void)
return ffmpegdec_lowres_type;
}
/**
* GstLibAVVidDecSkipFrame:
*
* Types of frames to skip during decoding.
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::default
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::non-ref
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::bidir
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::non-intra
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::non-key
*
* Since: 1.26
*/
/**
* GstLibAVVidDecSkipFrame::all
*
* Since: 1.26
*/
#define GST_FFMPEGVIDDEC_TYPE_SKIPFRAME (gst_ffmpegviddec_skipframe_get_type())
static GType
gst_ffmpegviddec_skipframe_get_type (void)
@ -139,10 +182,14 @@ gst_ffmpegviddec_skipframe_get_type (void)
if (!ffmpegdec_skipframe_type) {
static const GEnumValue ffmpegdec_skipframe[] = {
{0, "0", "Skip nothing"},
{1, "1", "Skip B-frames"},
{2, "2", "Skip IDCT/Dequantization"},
{5, "5", "Skip everything"},
// taken from https://ffmpeg.org/doxygen/trunk/group__lavc__decoding.html
{AVDISCARD_DEFAULT, "Discard useless packets like 0 size packets in avi",
"default"},
{AVDISCARD_NONREF, "Discard all non reference", "non-ref"},
{AVDISCARD_BIDIR, "Discard all bidirectional frames", "bidir"},
{AVDISCARD_NONINTRA, "Discard all non intra frames", "non-intra"},
{AVDISCARD_NONKEY, "Discard all frames except keyframes", "non-key"},
{AVDISCARD_ALL, "Discard all", "all"},
{0, NULL, NULL},
};
@ -1708,6 +1755,11 @@ gst_ffmpegviddec_do_qos (GstFFMpegVidDec * ffmpegdec,
if (frame == NULL)
return;
if (ffmpegdec->skip_frame != AVDISCARD_DEFAULT) {
/* A special skip frame mode is configured, ignore QOS. */
return;
}
if (skip_flags & GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS) {
ffmpegdec->context->skip_frame = AVDISCARD_NONKEY;
*mode_switch = TRUE;