[vlc-commits] commit: Revert "Revert "libvlc_media_get_tracks_info(): correct help"" ( =?UTF-8?Q?Rafa=C3=ABl=20Carr=C3=A9=20?=)

git at videolan.org git at videolan.org
Thu Dec 2 22:19:06 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Dec  2 22:18:40 2010 +0100| [dae49c9ef896253833b823cf74bbd88a1966c9d9] | committer: Rafaël Carré 

Revert "Revert "libvlc_media_get_tracks_info(): correct help""

This reverts commit 193aeeff9d12888728c46b21720b4fc06d9033f3.

Conflicts:

	include/vlc/libvlc_media.h

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dae49c9ef896253833b823cf74bbd88a1966c9d9
---

 include/vlc/libvlc_media.h |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 8e8c1f5..1cc568a 100644
--- a/include/vlc/libvlc_media.h
+++ b/include/vlc/libvlc_media.h
@@ -486,13 +486,10 @@ VLC_PUBLIC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md );
 /**
  * Get media descriptor's elementary streams description
  *
- * Note, you need to play the media _one_ time with --sout="#description"
- * but this is broken because #description needs special support now.
+ * Note, you need to call libvlc_media_parse() or play the media at least once
+ * before calling this function.
  * Not doing this will result in an empty array.
  *
- * This is very likely to change in next release, and be done at the parsing
- * phase.
- *
  * \param p_md media descriptor object
  * \param tracks address to store an allocated array of Elementary Streams
  * descriptions (must be freed by the caller)



More information about the vlc-commits mailing list