ltmmConvertCtrl.DVDecoderResolution Example for Visual Basic

' This function will change the small resolution
' into the second highest resolution
Private Sub SetupDV(Convert As ltmmConvertCtrl) 
Dim res As ltmmDVResolution

res = Convert.DVDecoderResolution

If res = ltmmDVResolution_DC Then
    Convert.DVDecoderResolution = ltmmDVResolution_Quarter
ElseIf res = ltmmDVResolution_Quarter Then
    Convert.DVDecoderResolution = ltmmDVResolution_Half
ElseIf res = ltmmDVResolution_Half Then
    Convert.DVDecoderResolution = ltmmDVResolution_Full
End If

End Sub