mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 09:25:42 +00:00
samples: Fix broken media uris
This commit is contained in:
parent
893169175d
commit
e89446b2f6
5 changed files with 6 additions and 6 deletions
|
@ -33,7 +33,7 @@ namespace GstreamerSharp
|
|||
}
|
||||
|
||||
// Set the URI to play
|
||||
Playbin ["uri"] = "http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm";
|
||||
Playbin ["uri"] = "http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_cropped_multilingual.webm";
|
||||
|
||||
// Set flags to show Audio and Video but ignore Subtitles
|
||||
var flags = (uint)Playbin ["flags"];
|
||||
|
|
|
@ -33,10 +33,10 @@ namespace GstreamerSharp
|
|||
}
|
||||
|
||||
// Set the URI to play
|
||||
Playbin ["uri"] = "http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv";
|
||||
Playbin ["uri"] = "http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.ogv";
|
||||
|
||||
// Set the subtitle URI to play and some font description
|
||||
Playbin ["suburi"] = "http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt";
|
||||
Playbin ["suburi"] = "http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer_gr.srt";
|
||||
Playbin ["subtitle-font-desc"] = "Sans, 18";
|
||||
|
||||
// Set flags to show Audio and Video and Subtitles
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace GstreamerSharp
|
|||
BufferingLevel = 100;
|
||||
|
||||
// Build the pipeline
|
||||
Pipeline = Parse.Launch ("playbin uri=http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
Pipeline = Parse.Launch ("playbin uri=http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
var bus = Pipeline.Bus;
|
||||
|
||||
// Set the download flag
|
||||
|
|
|
@ -102,7 +102,7 @@ namespace GstreamerSharp
|
|||
Console.WriteLine (" 'Q' to quit");
|
||||
|
||||
// Build the pipeline
|
||||
Pipeline = Parse.Launch ("playbin uri=http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
Pipeline = Parse.Launch ("playbin uri=http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
|
||||
// Add a keyboard watch so we get notified of keystrokes
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace GstreamerSharp
|
|||
Application.Init (ref args);
|
||||
|
||||
// Build the pipeline
|
||||
var pipeline = Parse.Launch ("playbin uri=http://docs.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
var pipeline = Parse.Launch ("playbin uri=http://freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm");
|
||||
|
||||
// Create the elements inside the sink bin
|
||||
var equalizer = ElementFactory.Make ("equalizer-3bands", "equalizer");
|
||||
|
|
Loading…
Reference in a new issue