[MPlayer-cvslog] r21440 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Sat Dec 2 15:50:12 CET 2006


Author: nicodvb
Date: Sat Dec  2 15:50:12 2006
New Revision: 21440

Modified:
   trunk/stream/stream_dvdnav.c

Log:
doxygenized dvdnav_sid_from_lang() and dvdnav_number_of_subs()

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Sat Dec  2 15:50:12 2006
@@ -467,6 +467,12 @@
   priv->mousey = y;
 }
 
+/**
+ * \brief dvdnav_sid_from_lang() returns the subtitle id corresponding to the language code 'lang'
+ * \param stream: - stream pointer
+ * \param lang: 2-characters language code[s], eventually separated by spaces of commas
+ * \return -1 on error, current subtitle id if successful
+ */
 int dvdnav_sid_from_lang(stream_t *stream, unsigned char *language) {
   dvdnav_priv_t * priv=(dvdnav_priv_t*)stream->priv;
   uint8_t format, lg, k;
@@ -488,6 +494,11 @@
   return -1;
 }
 
+/**
+ * \brief dvdnav_number_of_subs() returns the count of available subtitles
+ * \param stream: - stream pointer
+ * \return 0 on error, something meaningful otherwise
+ */
 int dvdnav_number_of_subs(stream_t *stream) {
   dvdnav_priv_t * priv=(dvdnav_priv_t*)stream->priv;
   uint8_t lg, k, n=0;



More information about the MPlayer-cvslog mailing list