[MPlayer-dev-eng] [PATCH] Auto load vc and ac profiles

Kazuo Teramoto kaz.rag at gmail.com
Sat May 8 12:09:47 CEST 2010


Hi,

Today playing with profiles I noted that codecs (ac and vc options)
dont have automatic loading profile like vo and ao (video and audio
outputs). I think this can be useful sometimes. The patch is trivial
(basically I copied what the vo and ao profile loading do).

I made two versions, the first (vc_ac_profiles_dup.patch) duplicated
the code from vo/ao to create a new one for vc/ac. The second
(vc_ac_profiles.patch) remove this duplication and make
load_per_output_config a generic profile loading function (I called
load_per_cfg_config, but I'm not good with names...). The second one
is I think better, because load_per_output_config is really generic
(it dont check anything related to options passed to it).

Kazuo.

-- 
«Dans la vie, rien n'est à craindre, tout est à comprendre»
Marie Sklodowska Curie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vc_ac_profiles_dup.patch
Type: text/x-patch
Size: 1104 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100508/3485fffc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vc_ac_profiles.patch
Type: text/x-patch
Size: 1464 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100508/3485fffc/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list