Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thibault Saunier
gst-plugins-good
Commits
15b1a6ed
Commit
15b1a6ed
authored
Apr 24, 2002
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dispose wasn't a good idea..
Original commit message from CVS: Dispose wasn't a good idea..
parent
14c7c377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
gst/effectv/gstwarp.c
gst/effectv/gstwarp.c
+5
-11
No files found.
gst/effectv/gstwarp.c
View file @
15b1a6ed
...
...
@@ -90,7 +90,6 @@ static void gst_warptv_class_init (GstWarpTVClass * klass);
static
void
gst_warptv_init
(
GstWarpTV
*
filter
);
static
void
gst_warptv_initialize
(
GstWarpTV
*
filter
);
static
void
gst_warptv_dispose
(
GObject
*
object
);
static
void
gst_warptv_set_property
(
GObject
*
object
,
guint
prop_id
,
const
GValue
*
value
,
GParamSpec
*
pspec
);
...
...
@@ -136,7 +135,6 @@ gst_warptv_class_init (GstWarpTVClass * klass)
gobject_class
->
set_property
=
gst_warptv_set_property
;
gobject_class
->
get_property
=
gst_warptv_get_property
;
gobject_class
->
dispose
=
gst_warptv_dispose
;
}
static
GstPadConnectReturn
...
...
@@ -173,6 +171,8 @@ gst_warptv_init (GstWarpTV * filter)
gst_element_add_pad
(
GST_ELEMENT
(
filter
),
filter
->
srcpad
);
filter
->
tval
=
0
;
filter
->
disttable
=
NULL
;
filter
->
offstable
=
NULL
;
}
...
...
@@ -230,6 +230,9 @@ initDistTable (GstWarpTV *filter)
static
void
gst_warptv_initialize
(
GstWarpTV
*
filter
)
{
g_free
(
filter
->
disttable
);
g_free
(
filter
->
offstable
);
filter
->
offstable
=
(
guint32
*
)
g_malloc
(
filter
->
height
*
sizeof
(
guint32
));
filter
->
disttable
=
g_malloc
(
filter
->
width
*
filter
->
height
*
sizeof
(
guint32
));
...
...
@@ -238,15 +241,6 @@ gst_warptv_initialize (GstWarpTV *filter)
initDistTable
(
filter
);
}
static
void
gst_warptv_dispose
(
GObject
*
object
)
{
GstWarpTV
*
filter
=
GST_WARPTV
(
object
);
g_free
(
filter
->
disttable
);
g_free
(
filter
->
offstable
);
}
static
void
gst_warptv_chain
(
GstPad
*
pad
,
GstBuffer
*
buf
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment