[vlc-devel] [PATCHv3] Merge VoD module into RTP stream output module

Pierre Ynard linkfanel at yahoo.fr
Wed Nov 3 07:32:55 CET 2010


> I don't understand why we need *two* big FOURCC switches and keep
> them in sync. Note by the way that some codecs have more than one
> payload type defined, notably MPEG Audio (MP3) and H.263, although VLC
> currently only supports one for each.
> 
> Why don't you set the packetization callback in the same place as the
> rest??

They don't need to be kept in sync, and in fact, they are not. Some
codecs have different payload types but use the same packetization
callback, etc. I preferred not to factorize code that was used in only
one place: the VoD server part doesn't care about packetization... It
can be changed.

What do you suggest about multiple payload types for the same codec? We
are sending, so we can choose either one, can't we? Or is there a
preferred one depending on the conditions?

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list