Apparently the directshow settings dialog is in the same coding format as VLC.IN fact, this dialog is external to VLC, so we cannot save it.
Code: Select all
Dshow.h
Code: Select all
typedef enum tagAnalogVideoStandard {
AnalogVideo_None = 0x00000000
AnalogVideo_NTSC_M = 0x00000001,
AnalogVideo_NTSC_M_J = 0x00000002,
AnalogVideo_NTSC_433 = 0x00000004,
AnalogVideo_PAL_B = 0x00000010,
AnalogVideo_PAL_D = 0x00000020,
AnalogVideo_PAL_H = 0x00000080,
AnalogVideo_PAL_I = 0x00000100,
AnalogVideo_PAL_M = 0x00000200,
AnalogVideo_PAL_N = 0x00000400,
AnalogVideo_PAL_60 = 0x00000800,
AnalogVideo_SECAM_B = 0x00001000,
AnalogVideo_SECAM_D = 0x00002000,
AnalogVideo_SECAM_G = 0x00004000,
AnalogVideo_SECAM_H = 0x00008000,
AnalogVideo_SECAM_K = 0x00010000,
AnalogVideo_SECAM_K1 = 0x00020000,
AnalogVideo_SECAM_L = 0x00040000,
AnalogVideo_SECAM_L1 = 0x00080000,
AnalogVideo_PAL_N_COMBO = 0x00100000
} AnalogVideoStandard;
Ahh, I wasn't aware that they were device specific; are you sure? I thought that setting DirectShow settings to PAL_I (or otherwise) would apply these settings to all devices that use DirectShow. Is there anyway someone can test that? I only have one device that I could try on any one machine at the moment. It would be interesting if we set PAL_I on one device, and it was the same on another. If so, then a (presumabley) simple script to modify general DirectShow settings would be possible as either a stand alone piece of code, or built into VLC...If I understand this correctly, OleCreatePropertyFrame opens the dialog which has these options that are device/driver specific.
It seems that the DirectShow options are not stored anywhere, and hence reset to default on reboot. I guess if settings were stored (by VLC) then VLC would have to set them each time VLC was run... That would be ideal.But it should be possible to store IUnknown objects for example to registry but I don't know how.
I don't think this should cause a problem...Not all DirectShow devices have PAL/NTSC option.
Return to “VLC media player Feature Requests”
Users browsing this forum: No registered users and 20 guests