[Bug 739801] Need to change DEFAULT_{AUDIO, VIDEO}SINK in application running time
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 18 05:23:47 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739801
GStreamer | gst-plugins-base | unspecified
--- Comment #4 from Justin Joy <justin.joy.9to5 at gmail.com> 2014-11-18 13:23:45 UTC ---
I am very appreciate for your attention even though I missed something
important to explain.
Perhaps, this patch would be only for me, but I want to help if there's someone
who have similar situation. :)
This is my application layers.
--------
Player (Uncontrollable)
--------
Gstreamer Helper Functions (Controllable)
--------
Gstreamer (Controllable)
--------
In the player layer, they call the helper function like this, but I can't
access and modify the codes of the player. To help understand, I'll describe
pseudo codes.
pipeline = create_pipeline_by_helper ();
I provide the helper function, create_pipeline_by_helper, as a library. It
looks like that.
create_pipeline_by_helpder() {
playbin = create_playbin();
conf = get_configuration_from_file();
set_configuration (playbin, conf);
return playbin;
}
The configuration file has several properties related to playbin or pipeline
like this.
[playbin]
#default-video-sink=debugvideosink
default-video-sink=releasevideosink
#default-audio-sink=debugaudiosink
default-audio-sink=releaseaudiosink
The requirement of my patch was from this idea.
For convenience of debugging, I just want to replace default sink element
without compilation and with the closed upper layers.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list