From bb6c0d3e8bb1982bce3e1c219c1a4a2d187227f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 26 Jan 2020 11:24:14 +0100 Subject: doc: Complete documentation for VideoStreams Also quick clean up of the matching C++ files. --- modules/theora/doc_classes/VideoStreamTheora.xml | 4 ++++ modules/theora/video_stream_theora.cpp | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/theora') diff --git a/modules/theora/doc_classes/VideoStreamTheora.xml b/modules/theora/doc_classes/VideoStreamTheora.xml index 696101e252..ab1fcdcfb4 100644 --- a/modules/theora/doc_classes/VideoStreamTheora.xml +++ b/modules/theora/doc_classes/VideoStreamTheora.xml @@ -1,8 +1,10 @@ + [VideoStream] resource for Ogg Theora videos. + [VideoStream] resource handling the [url=https://www.theora.org/]Ogg Theora[/url] video format with [code].ogv[/code] extension. @@ -11,6 +13,7 @@ + Returns the Ogg Theora video file handled by this [VideoStreamTheora]. @@ -19,6 +22,7 @@ + Sets the Ogg Theora video file that this [VideoStreamTheora] resource handles. The [code]file[/code] name should have the [code].o[/code] extension. diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp index 9ba77d3c77..cf1fc3f175 100644 --- a/modules/theora/video_stream_theora.cpp +++ b/modules/theora/video_stream_theora.cpp @@ -147,7 +147,6 @@ void VideoStreamPlaybackTheora::clear() { thread = NULL; ring_buffer.clear(); #endif - //file_name = ""; theora_p = 0; vorbis_p = 0; -- cgit v1.2.3