diff options
author | Olivier Crête <olivier.crete@collabora.com> | 2016-09-15 16:19:28 -0400 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2016-09-15 16:19:28 -0400 |
commit | 9b4b5a7f5845385d49f1f5b59a0aebbdee3b1d07 (patch) | |
tree | bdf2cd148b7ce92c6856c57e35347ea329602ee5 | |
parent | 880317a38b613b271771370faf05f864f4b97b02 (diff) |
Replace gstreamer.com uri with freedesktop
-rw-r--r-- | examples/basic-tutorial-1.c | 2 | ||||
-rw-r--r-- | sdk-android-tutorial-media-player.md | 2 | ||||
-rw-r--r-- | sdk-basic-tutorial-dynamic-pipelines.md | 4 | ||||
-rw-r--r-- | sdk-basic-tutorial-gstreamer-tools.md | 22 | ||||
-rw-r--r-- | sdk-basic-tutorial-handy-elements.md | 12 | ||||
-rw-r--r-- | sdk-basic-tutorial-hello-world.md | 2 | ||||
-rw-r--r-- | sdk-basic-tutorial-media-information-gathering.md | 4 | ||||
-rw-r--r-- | sdk-basic-tutorial-playback-speed.md | 2 | ||||
-rw-r--r-- | sdk-basic-tutorial-streaming.md | 2 | ||||
-rw-r--r-- | sdk-basic-tutorial-time-management.md | 2 | ||||
-rw-r--r-- | sdk-basic-tutorial-toolkit-integration.md | 4 | ||||
-rw-r--r-- | sdk-ios-tutorial-a-basic-media-player.md | 2 | ||||
-rw-r--r-- | sdk-playback-tutorial-color-balance.md | 2 | ||||
-rw-r--r-- | sdk-playback-tutorial-custom-playbin-sinks.md | 2 | ||||
-rw-r--r-- | sdk-playback-tutorial-playbin-usage.md | 4 | ||||
-rw-r--r-- | sdk-playback-tutorial-progressive-streaming.md | 2 | ||||
-rw-r--r-- | sdk-playback-tutorial-subtitle-management.md | 6 |
17 files changed, 38 insertions, 38 deletions
diff --git a/examples/basic-tutorial-1.c b/examples/basic-tutorial-1.c index b6b1575..e91365b 100644 --- a/examples/basic-tutorial-1.c +++ b/examples/basic-tutorial-1.c @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) { gst_init (&argc, &argv); /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Start playing */ gst_element_set_state (pipeline, GST_STATE_PLAYING); diff --git a/sdk-android-tutorial-media-player.md b/sdk-android-tutorial-media-player.md index cb8f8a4..e95debd 100644 --- a/sdk-android-tutorial-media-player.md +++ b/sdk-android-tutorial-media-player.md @@ -86,7 +86,7 @@ public class Tutorial4 extends Activity implements SurfaceHolder.Callback, OnSee private int desired_position; // Position where the users wants to seek to private String mediaUri; // URI of the clip being played - private final String defaultMediaUri = "http://docs.gstreamer.com/media/sintel_trailer-368p.ogv"; + private final String defaultMediaUri = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv"; // Called when the activity is first created. @Override diff --git a/sdk-basic-tutorial-dynamic-pipelines.md b/sdk-basic-tutorial-dynamic-pipelines.md index 39df891..957454f 100644 --- a/sdk-basic-tutorial-dynamic-pipelines.md +++ b/sdk-basic-tutorial-dynamic-pipelines.md @@ -132,7 +132,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.source, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Connect to the pad-added signal */ g_signal_connect (data.source, "pad-added", G_CALLBACK (pad_added_handler), &data); @@ -309,7 +309,7 @@ just leave this branch (converter + sink) unlinked, until later on. ``` c /* Set the URI to play */ -g_object_set (data.source, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); +g_object_set (data.source, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); ``` We set the URI of the file to play via a property, just like we did in diff --git a/sdk-basic-tutorial-gstreamer-tools.md b/sdk-basic-tutorial-gstreamer-tools.md index f5df511..0899eff 100644 --- a/sdk-basic-tutorial-gstreamer-tools.md +++ b/sdk-basic-tutorial-gstreamer-tools.md @@ -147,7 +147,7 @@ stream out of a demuxer: ``` -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_00 ! matroskamux ! filesink location=sintel_video.mkv +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.video_00 ! matroskamux ! filesink location=sintel_video.mkv ``` This fetches a media file from the internet using `souphttpsrc`, which @@ -165,7 +165,7 @@ new matroska file with the video. If we wanted to keep only the audio: ``` -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_00 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d d.audio_00 ! vorbisparse ! matroskamux ! filesink location=sintel_audio.mka ``` The `vorbisparse` element is required to extract some information from @@ -191,7 +191,7 @@ Consider the following pipeline: ``` -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux ! filesink location=test ``` This is the same media file and demuxer as in the previous example. The @@ -205,7 +205,7 @@ previous sub-section, or by using **Caps Filters**: ``` -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux ! video/x-vp8 ! matroskamux ! filesink location=sintel_video.mkv +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux ! video/x-vp8 ! matroskamux ! filesink location=sintel_video.mkv ``` A Caps Filter behaves like a pass-through element which does nothing and @@ -225,7 +225,7 @@ producing for a particular pipeline, run `gst-launch-1.0` as usual, with the Play a media file using `playbin` (as in [](sdk-basic-tutorial-hello-world.md)): ``` -gst-launch-1.0 playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm +gst-launch-1.0 playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ``` A fully operation playback pipeline, with audio and video (more or less @@ -233,7 +233,7 @@ the same pipeline that `playbin` will create internally): ``` -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! matroskademux name=d ! queue ! vp8dec ! videoconvert ! autovideosink d. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! matroskademux name=d ! queue ! vp8dec ! videoconvert ! autovideosink d. ! queue ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink ``` A transcoding pipeline, which opens the webm container and decodes both @@ -243,7 +243,7 @@ with a different codec, and puts them back together in an Ogg container it). ``` -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m. +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m. ``` A rescaling pipeline. The `videoscale` element performs a rescaling @@ -252,7 +252,7 @@ output caps. The output caps are set by the Caps Filter to 320x200. ``` -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink ``` This short description of `gst-launch-1.0` should be enough to get you @@ -389,10 +389,10 @@ Let's see an example: ``` -gst-discoverer-1.0 http://docs.gstreamer.com/media/sintel_trailer-480p.webm -v +gst-discoverer-1.0 https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm -v -Analyzing http://docs.gstreamer.com/media/sintel_trailer-480p.webm -Done discovering http://docs.gstreamer.com/media/sintel_trailer-480p.webm +Analyzing https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm +Done discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm Topology: container: video/webm audio: audio/x-vorbis, channels=(int)2, rate=(int)48000 diff --git a/sdk-basic-tutorial-handy-elements.md b/sdk-basic-tutorial-handy-elements.md index 77395dc..11d93a7 100644 --- a/sdk-basic-tutorial-handy-elements.md +++ b/sdk-basic-tutorial-handy-elements.md @@ -34,11 +34,11 @@ source pads as streams are found in the media. ``` bash -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoconvert ! autovideosink ``` ``` bash -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! audioconvert ! autoaudiosink +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioconvert ! autoaudiosink ``` ### `decodebin` @@ -52,7 +52,7 @@ offers as many source pads as streams are found in the media. ``` bash -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! decodebin ! autovideosink +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink ``` ## File input/output @@ -88,7 +88,7 @@ the [libsoup](https://wiki.gnome.org/Projects/libsoup) library. Set the URL to r property. ``` bash -gst-launch-1.0 souphttpsrc location=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! decodebin ! autovideosink +gst-launch-1.0 souphttpsrc location=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! decodebin ! autovideosink ``` ## Test media generation @@ -175,7 +175,7 @@ video sinks are capable of performing scaling operations. ``` bash -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! videoscale ! video/x-raw,width=178,height=100 ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! videoscale ! video/x-raw,width=178,height=100 ! videoconvert ! autovideosink ``` ## Audio adapters @@ -205,7 +205,7 @@ do not fear to use it generously. ``` bash -gst-launch-1.0 uridecodebin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw-float,rate=4000 ! audioconvert ! autoaudiosink +gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! audioresample ! audio/x-raw-float,rate=4000 ! audioconvert ! autoaudiosink ``` ### `audiorate` diff --git a/sdk-basic-tutorial-hello-world.md b/sdk-basic-tutorial-hello-world.md index f4ea1fb..12fd06b 100644 --- a/sdk-basic-tutorial-hello-world.md +++ b/sdk-basic-tutorial-hello-world.md @@ -81,7 +81,7 @@ in [Basic tutorial 10: GStreamer tools]) ``` c /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); ``` This line is the heart of this tutorial, and exemplifies **two** key diff --git a/sdk-basic-tutorial-media-information-gathering.md b/sdk-basic-tutorial-media-information-gathering.md index 8360413..2b49e2f 100644 --- a/sdk-basic-tutorial-media-information-gathering.md +++ b/sdk-basic-tutorial-media-information-gathering.md @@ -30,7 +30,7 @@ The recovered information includes codec descriptions, stream topology audio language). As an example, this is the result -of discovering http://docs.gstreamer.com/media/sintel\_trailer-480p.webm +of discovering https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel\_trailer-480p.webm Duration: 0:00:52.250000000 Tags: @@ -244,7 +244,7 @@ static void on_finished_cb (GstDiscoverer *discoverer, CustomData *data) { int main (int argc, char **argv) { CustomData data; GError *err = NULL; - gchar *uri = "http://docs.gstreamer.com/media/sintel_trailer-480p.webm"; + gchar *uri = "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm"; /* if a URI was provided, use it instead of the default one */ if (argc > 1) { diff --git a/sdk-basic-tutorial-playback-speed.md b/sdk-basic-tutorial-playback-speed.md index eab72c4..05e9260 100644 --- a/sdk-basic-tutorial-playback-speed.md +++ b/sdk-basic-tutorial-playback-speed.md @@ -173,7 +173,7 @@ int main(int argc, char *argv[]) { " 'Q' to quit\n"); /* Build the pipeline */ - data.pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + data.pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Add a keyboard watch so we get notified of keystrokes */ #ifdef G_OS_WIN32 diff --git a/sdk-basic-tutorial-streaming.md b/sdk-basic-tutorial-streaming.md index 5a54801..9653faf 100644 --- a/sdk-basic-tutorial-streaming.md +++ b/sdk-basic-tutorial-streaming.md @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) { memset (&data, 0, sizeof (data)); /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); /* Start playing */ diff --git a/sdk-basic-tutorial-time-management.md b/sdk-basic-tutorial-time-management.md index c6118a3..41b8535 100644 --- a/sdk-basic-tutorial-time-management.md +++ b/sdk-basic-tutorial-time-management.md @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Start playing */ ret = gst_element_set_state (data.playbin, GST_STATE_PLAYING); diff --git a/sdk-basic-tutorial-toolkit-integration.md b/sdk-basic-tutorial-toolkit-integration.md index 357db7c..49b95a9 100644 --- a/sdk-basic-tutorial-toolkit-integration.md +++ b/sdk-basic-tutorial-toolkit-integration.md @@ -413,7 +413,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Connect to interesting signals in playbin */ g_signal_connect (G_OBJECT (data.playbin), "video-tags-changed", (GCallback) tags_cb, &data); @@ -523,7 +523,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); ``` Standard GStreamer initialization and playbin pipeline creation, along diff --git a/sdk-ios-tutorial-a-basic-media-player.md b/sdk-ios-tutorial-a-basic-media-player.md index c0697f0..3d50599 100644 --- a/sdk-ios-tutorial-a-basic-media-player.md +++ b/sdk-ios-tutorial-a-basic-media-player.md @@ -169,7 +169,7 @@ this view is collapsed by default. Click here to expand… media_width = 320; media_height = 240; - uri = @"http://docs.gstreamer.com/media/sintel_trailer-368p.ogv"; + uri = @"https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-368p.ogv"; gst_backend = [[GStreamerBackend alloc] init:self videoView:video_view]; } diff --git a/sdk-playback-tutorial-color-balance.md b/sdk-playback-tutorial-color-balance.md index eafbf81..1e858f4 100644 --- a/sdk-playback-tutorial-color-balance.md +++ b/sdk-playback-tutorial-color-balance.md @@ -148,7 +148,7 @@ int main(int argc, char *argv[]) { " 'Q' to quit\n"); /* Build the pipeline */ - data.pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + data.pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Add a keyboard watch so we get notified of keystrokes */ #ifdef G_OS_WIN32 diff --git a/sdk-playback-tutorial-custom-playbin-sinks.md b/sdk-playback-tutorial-custom-playbin-sinks.md index 5249b56..3cacb96 100644 --- a/sdk-playback-tutorial-custom-playbin-sinks.md +++ b/sdk-playback-tutorial-custom-playbin-sinks.md @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) { gst_init (&argc, &argv); /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); /* Create the elements inside the sink bin */ equalizer = gst_element_factory_make ("equalizer-3bands", "equalizer"); diff --git a/sdk-playback-tutorial-playbin-usage.md b/sdk-playback-tutorial-playbin-usage.md index d226350..9488c31 100644 --- a/sdk-playback-tutorial-playbin-usage.md +++ b/sdk-playback-tutorial-playbin-usage.md @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_cropped_multilingual.webm", NULL); + g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", NULL); /* Set flags to show Audio and Video but ignore Subtitles */ g_object_get (data.playbin, "flags", &flags, NULL); @@ -408,7 +408,7 @@ We have set all these properties one by one, but we could have all of them with a single call to `g_object_set()`: ``` c -g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_cropped_multilingual.webm", "flags", flags, "connection-speed", 56, NULL); +g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm", "flags", flags, "connection-speed", 56, NULL); ``` This is why `g_object_set()` requires a NULL as the last parameter. diff --git a/sdk-playback-tutorial-progressive-streaming.md b/sdk-playback-tutorial-progressive-streaming.md index 44e6d02..7f64a94 100644 --- a/sdk-playback-tutorial-progressive-streaming.md +++ b/sdk-playback-tutorial-progressive-streaming.md @@ -172,7 +172,7 @@ int main(int argc, char *argv[]) { data.buffering_level = 100; /* Build the pipeline */ - pipeline = gst_parse_launch ("playbin uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL); + pipeline = gst_parse_launch ("playbin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm", NULL); bus = gst_element_get_bus (pipeline); /* Set the download flag */ diff --git a/sdk-playback-tutorial-subtitle-management.md b/sdk-playback-tutorial-subtitle-management.md index 08beee7..3deda11 100644 --- a/sdk-playback-tutorial-subtitle-management.md +++ b/sdk-playback-tutorial-subtitle-management.md @@ -88,10 +88,10 @@ int main(int argc, char *argv[]) { } /* Set the URI to play */ - g_object_set (data.playbin, "uri", "http://docs.gstreamer.com/media/sintel_trailer-480p.ogv", NULL); + g_object_set (data.playbin, "uri", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv", NULL); /* Set the subtitle URI to play and some font description */ - g_object_set (data.playbin, "suburi", "http://docs.gstreamer.com/media/sintel_trailer_gr.srt", NULL); + g_object_set (data.playbin, "suburi", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt", NULL); g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL); /* Set flags to show Audio, Video and Subtitles */ @@ -298,7 +298,7 @@ review only the changes. ``` c /* Set the subtitle URI to play and some font description */ -g_object_set (data.playbin, "suburi", "http://docs.gstreamer.com/media/sintel_trailer_gr.srt", NULL); +g_object_set (data.playbin, "suburi", "https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt", NULL); g_object_set (data.playbin, "subtitle-font-desc", "Sans, 18", NULL); ``` |