New upstream version 23.2.1+dfsg1

This commit is contained in:
Simon Chopin 2019-07-27 14:47:10 +02:00
parent cdc9a9fc87
commit b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions

View file

@ -5,4 +5,7 @@ VideoStandard="معيار الفيديو"
DVTiming="توقيت DV"
Resolution="الأبعاد"
FrameRate="الإطار"
ColorRange="نطاق اللون"
ColorRange.Partial="جزئي"
ColorRange.Full="كامل"

View file

@ -8,4 +8,7 @@ Resolution="Resolució"
FrameRate="Fotogrames per segon"
LeaveUnchanged="No ho canviïs"
UseBuffering="Usa memòria intermèdia"
ColorRange="Gamma de colors"
ColorRange.Partial="Parcial"
ColorRange.Full="Complet"

View file

@ -8,4 +8,7 @@ Resolution="Rozlišení"
FrameRate="Snímkovací frekvence"
LeaveUnchanged="Ponechat nezměněné"
UseBuffering="Použít vyrovnávací paměť"
ColorRange="Rozsah barev"
ColorRange.Partial="Částečný"
ColorRange.Full="Plný"

View file

@ -1,11 +1,14 @@
V4L2Input="Video optagelses enhed (V4L2)"
V4L2Input="Videooptageenhed (V4L2)"
Device="Enhed"
Input="Input"
VideoFormat="Video format"
VideoStandard="Video standard"
DVTiming="DV timing"
VideoFormat="Videoformat"
VideoStandard="Videostandard"
DVTiming="DV-timing"
Resolution="Opløsning"
FrameRate="Framerate"
LeaveUnchanged="Efterlad uændret"
UseBuffering="Brug buffering"
FrameRate="Billedhastighed"
LeaveUnchanged="Behold uændret"
UseBuffering="Benyt buffering"
ColorRange="Farveområde"
ColorRange.Partial="Delvist"
ColorRange.Full="Fuldt"

View file

@ -7,5 +7,8 @@ DVTiming="DV-Timing"
Resolution="Auflösung"
FrameRate="Bildrate"
LeaveUnchanged="Unverändert lassen"
UseBuffering="Buffering benutzen"
UseBuffering="Puffern benutzen"
ColorRange="Farbbereich"
ColorRange.Partial="Begrenzt"
ColorRange.Full="Voll"

View file

@ -8,3 +8,6 @@ Resolution="Resolution"
FrameRate="Frame Rate"
LeaveUnchanged="Leave Unchanged"
UseBuffering="Use Buffering"
ColorRange="Color Range"
ColorRange.Partial="Partial"
ColorRange.Full="Full"

View file

@ -8,4 +8,7 @@ Resolution="Resolución"
FrameRate="Frecuencia de imágenes"
LeaveUnchanged="Dejar sin cambios"
UseBuffering="Utilizar el almacenamiento en búfer"
ColorRange="Gama de Colores"
ColorRange.Partial="Parcial"
ColorRange.Full="Completo"

View file

@ -8,4 +8,7 @@ Resolution="Bereizmena"
FrameRate="Fotograma emaria"
LeaveUnchanged="Utzi aldatu gabe"
UseBuffering="Erabili bufferreratzea"
ColorRange="Kolore tartea"
ColorRange.Partial="Partziala"
ColorRange.Full="Osoa"

View file

@ -0,0 +1,14 @@
V4L2Input="دستگاه ضبط ویدئویی (V4L2)"
Device="دستگاه"
Input="ورودی"
VideoFormat="فرمت های تصویری"
VideoStandard="استاندارد های تصویری"
DVTiming="زمان بندی دی وی"
Resolution="اندازه تصویر"
FrameRate="نرخ فریم"
LeaveUnchanged="ترک بدون تغییر"
UseBuffering="استفاده از بافرینگ"
ColorRange="طیف رنگ"
ColorRange.Partial="جزئی"
ColorRange.Full="کامل"

View file

@ -8,4 +8,7 @@ Resolution="Tarkkuus"
FrameRate="Kuvanopeus"
LeaveUnchanged="Jätä ennalleen"
UseBuffering="Käytä puskurointia"
ColorRange="Värialue"
ColorRange.Partial="Osittainen"
ColorRange.Full="Täysi"

View file

@ -5,7 +5,10 @@ VideoFormat="Format vidéo"
VideoStandard="Standard vidéo"
DVTiming="Timing DV"
Resolution="Résolution"
FrameRate="Fréquence d'image"
FrameRate="Images par seconde"
LeaveUnchanged="Annuler les modifications"
UseBuffering="Utiliser la mise en mémoire tampon"
UseBuffering="Utiliser le tampon mémoire"
ColorRange="Gamme de couleurs"
ColorRange.Partial="Partielle"
ColorRange.Full="Complète"

View file

@ -8,4 +8,7 @@ Resolution="Felbontás"
FrameRate="Képkockasebesség"
LeaveUnchanged="Változatlanul hagyni"
UseBuffering="Pufferelés használata"
ColorRange="Színtartomány"
ColorRange.Partial="Részleges"
ColorRange.Full="Teljes"

View file

@ -1,11 +1,14 @@
V4L2Input="Dispositivo di acquisizione video (V4L2)"
Device="Dispositivo"
Input="Input"
VideoFormat="Formato Video"
VideoStandard="Video Standard"
DVTiming="DV Timing"
Input="Ingresso"
VideoFormat="Formato video"
VideoStandard="Standard video"
DVTiming="Timing DV"
Resolution="Risoluzione"
FrameRate="Frame Rate"
FrameRate="Velocità dei fotogrammi"
LeaveUnchanged="Lascia invariato"
UseBuffering="Usa Buffer"
UseBuffering="Utilizza il buffering"
ColorRange="Gamma di colori"
ColorRange.Partial="Parziale"
ColorRange.Full="Intero"

View file

@ -8,4 +8,7 @@ Resolution="解像度"
FrameRate="フレームレート"
LeaveUnchanged="変更せずに戻る"
UseBuffering="バッファリングを使用する"
ColorRange="色範囲"
ColorRange.Partial="一部"
ColorRange.Full="全部"

View file

@ -1,4 +1,4 @@
V4L2Input="ვიდეოს ჩამწერი მოწყობილობა (V4L2)"
V4L2Input="ვიდეოს გადამღები მოწყობილობა (V4L2)"
Device="მოწყობილობა"
Input="შემავალი"
VideoFormat="ვიდეოს ფორმატი"
@ -8,4 +8,7 @@ Resolution="გარჩევადობა"
FrameRate="კადრის სიხშირე"
LeaveUnchanged="უცვლელად დატოვება"
UseBuffering="ბუფერიზაციის გამოყენება"
ColorRange="ფერთა გამა"
ColorRange.Partial="ნაწილობრივი"
ColorRange.Full="სრული"

View file

@ -8,4 +8,7 @@ Resolution="해상도"
FrameRate="프레임 레이트"
LeaveUnchanged="저장하지 않고 두기"
UseBuffering="버퍼링 사용"
ColorRange="색상 범위"
ColorRange.Partial="부분"
ColorRange.Full="전체"

View file

@ -8,4 +8,7 @@ Resolution="Oppløsning"
FrameRate="Bildefrekvens"
LeaveUnchanged="La stå uendret"
UseBuffering="Bruk bufring"
ColorRange="Fargespekter"
ColorRange.Partial="Delvis"
ColorRange.Full="Full"

View file

@ -8,4 +8,7 @@ Resolution="Resolutie"
FrameRate="Frame Rate"
LeaveUnchanged="Ongewijzigd Laten"
UseBuffering="Buffering Gebruiken"
ColorRange="Kleurbereik"
ColorRange.Partial="Gedeeltelijk"
ColorRange.Full="Volledig"

View file

@ -8,4 +8,7 @@ Resolution="Rozdzielczość"
FrameRate="Klatki na sekundę"
LeaveUnchanged="Pozostaw bez zmian"
UseBuffering="Użyj buforowania"
ColorRange="Zakres kolorów"
ColorRange.Partial="Częściowy"
ColorRange.Full="Pełny"

View file

@ -8,4 +8,7 @@ Resolution="Resolução"
FrameRate="Taxa de quadros"
LeaveUnchanged="Deixar inalterado"
UseBuffering="Utilizar Buffering"
ColorRange="Intervalo de Cor"
ColorRange.Partial="Parcial"
ColorRange.Full="Completo"

View file

@ -7,5 +7,5 @@ DVTiming="Sincronizare DV"
Resolution="Rezoluție"
FrameRate="Frecvență de cadre"
LeaveUnchanged="Lasă neschimbat"
UseBuffering="Folosește buffering"
UseBuffering="Folosește zona tampon"

View file

@ -8,4 +8,7 @@ Resolution="Разрешение"
FrameRate="Частота кадров"
LeaveUnchanged="Оставить без изменений"
UseBuffering="Использовать буферизацию"
ColorRange="Цветовой диапазон"
ColorRange.Partial="Частичный"
ColorRange.Full="Полный"

View file

@ -8,4 +8,7 @@ Resolution="Rozlíšenie"
FrameRate="Frekvencia snímok"
LeaveUnchanged="Ponechať bez zmeny"
UseBuffering="Použiť vyrovnávaciu pamäť"
ColorRange="Farebný rozsah"
ColorRange.Partial="Čiastočný"
ColorRange.Full="Plný"

View file

@ -1,4 +1,4 @@
V4L2Input="Ulazni video uređaj (V4L2)"
V4L2Input="Uređaj za snimanje videa (V4L2)"
Device="Uređaj"
Input="Ulaz"
VideoFormat="Video format"

View file

@ -1,4 +1,4 @@
V4L2Input="Улазни видео уређај (V4L2)"
V4L2Input="Уређај за снимање видеа (V4L2)"
Device="Уређај"
Input="Улаз"
VideoFormat="Видео формат"

View file

@ -8,4 +8,7 @@ Resolution="Upplösning"
FrameRate="Bildhastighet"
LeaveUnchanged="Lämna oförändrat"
UseBuffering="Använd buffer"
ColorRange="Färgintervall"
ColorRange.Partial="Delvis"
ColorRange.Full="Full"

View file

@ -8,4 +8,7 @@ Resolution="Çözünürlük"
FrameRate="Kare Hızı"
LeaveUnchanged="Değişmeden Bırak"
UseBuffering="Arabelleğe Almayı Kullan"
ColorRange="Renk Aralığı"
ColorRange.Partial="Kısmi"
ColorRange.Full="Tam"

View file

@ -8,4 +8,7 @@ Resolution="Роздільна здатність"
FrameRate="Частота кадрів"
LeaveUnchanged="Залишити без змін"
UseBuffering="Увімкнути буферизацію"
ColorRange="Колірний діапазон"
ColorRange.Partial="Частковий"
ColorRange.Full="Повний"

View file

@ -8,4 +8,7 @@ Resolution="分辨率"
FrameRate="帧率"
LeaveUnchanged="保持不变"
UseBuffering="使用缓冲"
ColorRange="颜色范围"
ColorRange.Partial="部分"
ColorRange.Full="全部"

View file

@ -8,4 +8,7 @@ Resolution="解析度"
FrameRate="影格率"
LeaveUnchanged="不改變並離開"
UseBuffering="使用緩衝"
ColorRange="顏色範圍"
ColorRange.Partial="部分"
ColorRange.Full="完整"

View file

@ -18,6 +18,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("linux-v4l2", "en-US")
MODULE_EXPORT const char *obs_module_description(void)
{
return "Video4Linux2(V4L2) sources";
}
extern struct obs_source_info v4l2_input;

View file

@ -75,6 +75,7 @@ struct v4l2_data {
int dv_timing;
int resolution;
int framerate;
int color_range;
/* internal data */
obs_source_t *source;
@ -112,7 +113,7 @@ static void v4l2_prep_obs_frame(struct v4l2_data *data,
frame->width = data->width;
frame->height = data->height;
frame->format = v4l2_to_obs_video_format(data->pixfmt);
video_format_get_parameters(VIDEO_CS_DEFAULT, VIDEO_RANGE_PARTIAL,
video_format_get_parameters(VIDEO_CS_DEFAULT, data->color_range,
frame->color_matrix, frame->color_range_min,
frame->color_range_max);
@ -231,6 +232,7 @@ static void v4l2_defaults(obs_data_t *settings)
obs_data_set_default_int(settings, "dv_timing", -1);
obs_data_set_default_int(settings, "resolution", -1);
obs_data_set_default_int(settings, "framerate", -1);
obs_data_set_default_int(settings, "color_range", VIDEO_RANGE_PARTIAL);
obs_data_set_default_bool(settings, "buffering", true);
}
@ -329,7 +331,11 @@ static void v4l2_device_list(obs_property_t *prop, obs_data_t *settings)
continue;
}
obs_property_list_add_string(prop, (char *) video_cap.card,
/* make sure device names are unique */
char unique_device_name[68];
sprintf(unique_device_name, "%s (%s)", video_cap.card,
video_cap.bus_info);
obs_property_list_add_string(prop, unique_device_name,
device.array);
blog(LOG_INFO, "Found device '%s' at %s", video_cap.card,
device.array);
@ -759,6 +765,12 @@ static obs_properties_t *v4l2_properties(void *vptr)
"framerate", obs_module_text("FrameRate"),
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
obs_property_t *color_range_list = obs_properties_add_list(props,
"color_range", obs_module_text("ColorRange"),
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
obs_property_list_add_int(color_range_list, obs_module_text("ColorRange.Partial"), VIDEO_RANGE_PARTIAL);
obs_property_list_add_int(color_range_list, obs_module_text("ColorRange.Full"), VIDEO_RANGE_FULL);
obs_properties_add_bool(props,
"buffering", obs_module_text("UseBuffering"));
@ -940,6 +952,7 @@ static void v4l2_update(void *vptr, obs_data_t *settings)
data->dv_timing = obs_data_get_int(settings, "dv_timing");
data->resolution = obs_data_get_int(settings, "resolution");
data->framerate = obs_data_get_int(settings, "framerate");
data->color_range = obs_data_get_int(settings, "color_range");
v4l2_update_source_flags(data, settings);