Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

追加: インターレース解除機能 #54

Merged
merged 6 commits into from
Aug 30, 2018

Conversation

nullkal
Copy link

@nullkal nullkal commented Aug 28, 2018

このpull requestが解決する内容
インターレース解除機能を追加します。
image

動作確認手順

  1. 「動画・音声ファイル」「映像キャプチャデバイス」のソースを追加する
  2. それぞれのソースを右クリックした際に「インターレース解除」のコンテキストメニュー項目が追加されていることを確認する
  3. インターレース解除の設定を変更し、反映されていることを確認する
  4. N Airを再起動した際にインターレース解除の設定が保存されていることを確認する

"yadif2x": "Yadif 2x",
"top_field_first": "Top field first",
"bottom_field_first": "Bottom field first"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改行ないのは気になる

}

appendMenuItems() {
this.append({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここから手書きで全要素記述してるけど、なんか自動列挙できないのかな

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDeinterlaceModeとEDeinterlaceFieldOrderがconst enumなので、単純にfor inで列挙はできなさそうですね。

const DEINTERLACE_MODES = [
  { name: 'Disable', value: EDeinterlaceMode.Disable, label: $t('deinterlace.disable') },
  ...
];

みたいな配列を前で配列を定義しておいて、実際にメニューを追加する部分を共通化することだったらできそうです。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

うん、まだそのほうが保守性良さそう

@AppVeyorBot
Copy link

❌ build failed

1 similar comment
@AppVeyorBot
Copy link

❌ build failed

@nullkal nullkal changed the title [WIP]インターレース解除機能を実装 インターレース解除機能を実装 Aug 29, 2018
@nullkal
Copy link
Author

nullkal commented Aug 29, 2018

動画ソースの動作確認はしました。

キャプチャボードでの動作確認がしたい。

@koizuka koizuka changed the title インターレース解除機能を実装 WIP: インターレース解除機能を実装(要動作検証) Aug 29, 2018
Copy link
Member

@koizuka koizuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MonsterX + PS4(1080i設定)でしっかりデインターレースのon/offで効果検証したのを確認した。

@koizuka koizuka changed the title WIP: インターレース解除機能を実装(要動作検証) インターレース解除機能を実装 Aug 30, 2018
@koizuka koizuka changed the title インターレース解除機能を実装 追加: インターレース解除機能 Aug 30, 2018
@koizuka koizuka merged commit 3920bae into n-air-app:n-air_development Aug 30, 2018
@koizuka koizuka added the enhancement New feature or request label Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants