Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
spiir-group
GstLAL
Commits
f77ea81d
Commit
f77ea81d
authored
13 years ago
by
Kipp Cannon
Browse files
Options
Downloads
Patches
Plain Diff
framecpp:
- adjust typefind function rank and name - adjust framecpp_channeldemux rank
parent
9fe1e3da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-ugly/gst/framecpp/framecpp_plugin.c
+6
-5
6 additions, 5 deletions
gstlal-ugly/gst/framecpp/framecpp_plugin.c
with
6 additions
and
5 deletions
gstlal-ugly/gst/framecpp/framecpp_plugin.c
+
6
−
5
View file @
f77ea81d
...
@@ -109,8 +109,8 @@ static gboolean register_typefind(GstPlugin *plugin)
...
@@ -109,8 +109,8 @@ static gboolean register_typefind(GstPlugin *plugin)
return
gst_type_find_register
(
return
gst_type_find_register
(
plugin
,
plugin
,
"
application/x-igwd-frame
"
,
"
framecpp_typefind
"
,
0
,
GST_RANK_PRIMARY
,
typefind
,
typefind
,
extensions
,
extensions
,
gst_caps_from_string
(
"application/x-igwd-frame endianness = (int) {1234, 4321}"
),
gst_caps_from_string
(
"application/x-igwd-frame endianness = (int) {1234, 4321}"
),
...
@@ -133,10 +133,11 @@ static gboolean plugin_init(GstPlugin *plugin)
...
@@ -133,10 +133,11 @@ static gboolean plugin_init(GstPlugin *plugin)
{
{
struct
{
struct
{
const
gchar
*
name
;
const
gchar
*
name
;
GstRank
rank
;
GType
type
;
GType
type
;
}
*
element
,
elements
[]
=
{
}
*
element
,
elements
[]
=
{
{
"framecpp_channeldemux"
,
FRAMECPP_CHANNELDEMUX_TYPE
},
{
"framecpp_channeldemux"
,
GST_RANK_SECONDARY
,
FRAMECPP_CHANNELDEMUX_TYPE
},
{
NULL
,
0
},
{
NULL
,
0
,
0
},
};
};
/*
/*
...
@@ -150,7 +151,7 @@ static gboolean plugin_init(GstPlugin *plugin)
...
@@ -150,7 +151,7 @@ static gboolean plugin_init(GstPlugin *plugin)
*/
*/
for
(
element
=
elements
;
element
->
name
;
element
++
)
for
(
element
=
elements
;
element
->
name
;
element
++
)
if
(
!
gst_element_register
(
plugin
,
element
->
name
,
GST_RANK_NONE
,
element
->
type
))
if
(
!
gst_element_register
(
plugin
,
element
->
name
,
element
->
rank
,
element
->
type
))
return
FALSE
;
return
FALSE
;
/*
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment