Commit c7ba2edb authored by Pierre Ynard's avatar Pierre Ynard

Update comments relevent to --sout #description

parent c9663d97
...@@ -487,16 +487,8 @@ VLC_PUBLIC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md ); ...@@ -487,16 +487,8 @@ VLC_PUBLIC_API void *libvlc_media_get_user_data( libvlc_media_t *p_md );
* Get media descriptor's elementary streams description * Get media descriptor's elementary streams description
* *
* Note, you need to play the media _one_ time with --sout="#description" * Note, you need to play the media _one_ time with --sout="#description"
* Not doing this will result in an empty array, and doing it more than once * but this is broken because #description needs special support now.
* will duplicate the entries in the array each time. Something like this: * Not doing this will result in an empty array.
*
* @begincode
* libvlc_media_player_t *player = libvlc_media_player_new_from_media(media);
* libvlc_media_add_option_flag(media, "sout=#description");
* libvlc_media_player_play(player);
* // ... wait until playing
* libvlc_media_player_release(player);
* @endcode
* *
* This is very likely to change in next release, and be done at the parsing * This is very likely to change in next release, and be done at the parsing
* phase. * phase.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment