Closed
Bug 836243
Opened 12 years ago
Closed 12 years ago
Relax gstreamer version requirement
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: ivo.g.dimitrov.75, Assigned: ivo.g.dimitrov.75)
References
Details
Attachments
(1 file, 1 obsolete file)
2.56 KB,
patch
|
alessandro.d
:
review+
|
Details | Diff | Splinter Review |
Building mozilla with gstreamer support requires gstreamer version to be at least 0.10.33 as in this version playbin2 "source-setup" signal was added. The proposed patch uses "notify::source" signal instead of "source-setup" while keeping the functionality intact. The usage of "notify::source" allows mozilla gstreamer support to be enabled on systems with gstreamer version lower than 0.10.33.
Assignee | ||
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Attachment #708081 -
Flags: review?(alessandro.d)
Attachment #708081 -
Flags: feedback?(giles)
Comment 2•12 years ago
|
||
Any updates on this bug? can we get it reviewed
Comment 3•12 years ago
|
||
Comment on attachment 708081 [details] [diff] [review]
patch
Review of attachment 708081 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, with only one minor thing to fix
::: content/media/gstreamer/GStreamerReader.cpp
@@ +176,3 @@
> GStreamerReader *reader = reinterpret_cast<GStreamerReader*>(aUserData);
> +
> + g_object_get(aPlayBin, "source", &source, NULL);
this is missing a gst_object_unref(source) after the ->PlayBinSourceSetup call
Comment 4•12 years ago
|
||
I don't seem to have permissions to approve the patch btw
Comment 5•12 years ago
|
||
If I could, i'd make it r+ assuming the minor issue i pointed out gets fixed :)
Updated•12 years ago
|
Attachment #708081 -
Flags: review?(alessandro.d) → review+
Comment 6•12 years ago
|
||
Comment on attachment 708081 [details] [diff] [review]
patch
Review of attachment 708081 [details] [diff] [review]:
-----------------------------------------------------------------
Fine with me. Please upload a patch addressing the two nits.
::: content/media/gstreamer/GStreamerReader.cpp
@@ +163,5 @@
> NULL);
>
> + g_signal_connect(G_OBJECT(mPlayBin), "notify::source",
> + G_CALLBACK(GStreamerReader::PlayBinSourceSetupCb), this);
> +
Please fix the trailing whitespace here.
Attachment #708081 -
Flags: review?(alessandro.d)
Attachment #708081 -
Flags: review+
Attachment #708081 -
Flags: feedback?(giles)
Attachment #708081 -
Flags: feedback+
Comment 7•12 years ago
|
||
Oops, didn't mean to clobber alessandro's r+. So much for mid-air collision detection.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Alessandro Decina from comment #3)
> Comment on attachment 708081 [details] [diff] [review]
> patch
>
> Review of attachment 708081 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, with only one minor thing to fix
>
> ::: content/media/gstreamer/GStreamerReader.cpp
> @@ +176,3 @@
> > GStreamerReader *reader = reinterpret_cast<GStreamerReader*>(aUserData);
> > +
> > + g_object_get(aPlayBin, "source", &source, NULL);
>
> this is missing a gst_object_unref(source) after the ->PlayBinSourceSetup
> call
gst_object_unref is called in the class destructor:
> gst_app_src_end_of_stream(mSource);
> + if (mSource)
> + gst_object_unref(mSource);
Assignee | ||
Comment 9•12 years ago
|
||
Removed extra whitespaces
Attachment #708081 -
Attachment is obsolete: true
Attachment #708081 -
Flags: review?(alessandro.d)
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 10•12 years ago
|
||
Comment on attachment 713368 [details] [diff] [review]
relax_gst_version_v1.patch
Alessandro are you agree with comment #8 ?
Attachment #713368 -
Flags: review?(alessandro.d)
Updated•12 years ago
|
Attachment #713368 -
Flags: review?(alessandro.d) → review+
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Assignee: nobody → freemangordon
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•